Windows Messages: a newbie question about Windows software development


classic35mm

Member
Local time
12:55 AM
Posts
33
OS
Windows 11 23H2 22631.3527
Windows Build/Version
23H2 22631.3527

My Computer

System One

  • OS
    Windows 11 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkStation P3
Windows 'messages' is a way for applications to communicate with each other. As far as I know, there is no Windows Messages app.
What is it you need to do that you can't presently?
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3672
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Windows 'messages' is a way for applications to communicate with each other. As far as I know, there is no Windows Messages app.
What is it you need to do that you can't presently?
I'd like to be able to implement some of these commands programmatically in a small script or something like that.
 

My Computer

System One

  • OS
    Windows 11 23H2 22631.3527
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkStation P3

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3737 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
I'm not familiar with the application. I can find no full user guide for the app, only an online list of questions and answers.
Messaging in windows allows apps access to your text messages with a cellular connection. Maybe what this app is referring to is to allow it to read your text message so that it can help you construct your response to the message.
You would have to allow the app access to messaging through settings>privacy and security>messaging.
If that's not it, you might contact the company support.

I would think voice access would be of more benefit to you more than anything.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3737
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External +512gb Samsung m.2 sata+1tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Windows Messages refers to a Windows API library that apps can use to send notifications to each other. The provided link has some programming examples.

Unfortunately, unless you're a developer then it's not something that can be pasted into a batch file. You need a script written in a programming language to execute a specific request. After you have a wrapper, that can be called from batch.

This is a chicken & egg problem. I presume the OP isn't a dev. And most devs (if they wanted to help), don't have this keyboard to test against. You might to check if there's an users group for this company's products, and see if someone has already made a solution?
 

My Computer

System One

  • OS
    Windows 7
You can also send messages with PowerShell, since it also has access to Windows APIs. Here's a sample from a script I have that manipulates some taskbar settings, then sends messages out telling Windows to notice the changes.

Powershell:
Set-StrictMode -Version 'latest'

$InformationPreference = [Management.Automation.ActionPreference]::Continue

Add-Type -MemberDefinition @'
[DllImport("user32.dll", EntryPoint = "FindWindow", SetLastError = true)]
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);

[DllImport("user32.dll", SetLastError = true)]
public static extern bool SendMessage(IntPtr hWnd, uint Msg, uint wParam, uint lParam);

[DllImport("User32.Dll", EntryPoint = "SendMessageTimeout")]
public static extern IntPtr SendMessageTimeout([In] IntPtr hWnd, [In] uint message, [In] int wParam, [In] string lParam, [In] uint flags, [In] uint timeout, [Out][Optional] IntPtr result);

'@ -Name "NativeMethods" -Namespace "Win32" -PassThru | Out-Null


[UInt32]$WM_SETTINGCHANGE = 0x001A
[UInt32]$WM_THEMECHANGED = 0x031A
[UInt32]$WM_NOTIFY = 0x4E
[UInt32]$HWND_BROADCAST = 0xFFFF
[int]$SMTO_NORMAL = 0x0000 # The calling thread is not prevented from processing other requests while waiting for the function to return.
[int]$TimeoutForMessageSend = 2000
[IntPtr]$result = [IntPtr]::Zero


## Some Windows settings changes related to the taskbar go here. Left them out for brevity.


Write-Information 'Finding Shell_TrayWnd window.'
[IntPtr]$trayPointer = [Win32.NativeMethods]::FindWindow("Shell_TrayWnd", $null)

Write-Information 'Sending messages to notification area window and broadcast.'
[Win32.NativeMethods]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, $null, $null, $SMTO_NORMAL, $TimeoutForMessageSend, $result) | Out-Null
[Win32.NativeMethods]::SendMessageTimeout($HWND_BROADCAST, $WM_THEMECHANGED, $null, $null, $SMTO_NORMAL, $TimeoutForMessageSend, $result) | Out-Null
[Win32.NativeMethods]::SendMessageTimeout($HWND_BROADCAST, $WM_NOTIFY, $null, $null, $SMTO_NORMAL, $TimeoutForMessageSend, $result) | Out-Null
[Win32.NativeMethods]::SendMessageTimeout($trayPointer, $WM_SETTINGCHANGE, $null, $null, $SMTO_NORMAL, $TimeoutForMessageSend, $result) | Out-Null
[Win32.NativeMethods]::SendMessageTimeout($trayPointer, $WM_THEMECHANGED, $null, $null, $SMTO_NORMAL, $TimeoutForMessageSend, $result) | Out-Null
[Win32.NativeMethods]::SendMessageTimeout($trayPointer, $WM_NOTIFY, $null, $null, $SMTO_NORMAL, $TimeoutForMessageSend, $result) | Out-Null
<#
# Alternatively...
[Win32.NativeMethods]::SendMessage($HWND_BROADCAST, $WM_SETTINGCHANGE, $null, 0) | Out-Null
[Win32.NativeMethods]::SendMessage($trayPointer, $WM_SETTINGCHANGE, 0, 0) | Out-Null
[Win32.NativeMethods]::SendMessage($trayPointer, $WM_THEMECHANGED, 0, 0) | Out-Null
[Win32.NativeMethods]::SendMessage($trayPointer, $WM_NOTIFY, 0, 0) | Out-Null
#>
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 [rev. 3737]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical Keyboard with Cherry MX Clears
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical Keyboard - Cherry MX Clear

Latest Support Threads

Back
Top Bottom