I'm kind of new to C ++. I am trying to send a key to another application that I know HWND. I was thinking about doing :: SendMessage, but I'm not sure which options to use. I am trying to send a space. Thanks.
SendInput may be what you want.
You want to send the WM_CHAR message with a space character code as the wParam parameter:
SendMessage( hWnd, WM_CHAR, ' ', // space 0);
Source: https://habr.com/ru/post/1717385/More articles:Entering user input into a char array (C programming) - cProvide data as needed for QTMovie - objective-cSQL Server 2005 PivotTable Question - sqlStreamline ASMX Web Services with Multiple Long-Term Operations - performanceCreating a foreach keyword using yacc or Bison and Flex - cСлияние удалений в Team Foundation Server без оснований - version-controlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1717387/steps-to-build-virtual-treeview-in-delphi-2010&usg=ALkJrhhMmz1EBovEgkA0tVEZs3Y66Eomugxpath to select a child of a node based on parent properties - xmlHow to create a manifest for Windows Installer? - installerDetect when removable storage is unmounted - cocoaAll Articles