... in the application's main window procedure. This message indicates window activation changes (activating/deactivating). Combine with the LOWORD of wParam to check the activation state (e.g., WA_INACTIVE for background). You may need to inherit a Class TMyWindow from TWindow and implement support ...
... Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As IntPtr, ByRef lParam As CopyDataStruct) As IntPtr In your code, call the CheckJWordDocumentState() method before closing Application 2 or ...
... Macro :roll: --- in HMG Source i found some AVOID_COMPILER_WARNING when using Listview Macro HMG use SendMessage ( hWnd, LVM_*, (WPARAM) x, (LPARAM) y) instead which is like my Xbase++ Style using Ot4XB LIB not sure if it belong to MinGW Compiler or also BCC / ...
hi, i try to use wParam, lParam = 0,0 as descript here https://learn.microsoft.com/en-us/windows/win32/controls/lvm-getselectedcount wParam Must be zero. lParam Must be zero. hb_retni( ListView_GetSelectedCount(hWnd,0,0) ...
... not RTF. I have placed a question in StackOverflow: https://stackoverflow.com/questions/71005308/ptextservices-txsendmessage-em-streamin-wparam-sf-rtf-lparam-editst
WM_COMMNOTIFY (3.1) WM_COMMNOTIFY idDevice = wParam; /* communication-device ID */ nNotifyStatus = LOWORD(lParam); /* notification-status flag */ The WM_COMMNOTIFY message is posted by a communication device driver whenever a COM port event occurs. ...
... i, iSubItem_, pszText_) \ { LV_ITEM _ms_lvi;\ _ms_lvi.iSubItem = iSubItem_;\ _ms_lvi.pszText = pszText_;\ SNDMSG((hwndLV), LVM_SETITEMTEXT, (WPARAM)(i), (LPARAM)(LV_ITEM *)&_ms_lvi);\ } Also there is a function to allow inline editing: #define ListView_EditLabel(hwndLV, i) \ (HWND)SNDMSG((hwndLV), ...
... ),; ::nMin := nMin, ::nMax := nMax cb es lo que mide un fichero Luego se establece el Step (paso): SendMessage(hwndPB, PBM_SETSTEP, (WPARAM) 1, 0); En FWH: METHOD SetStep( nStepInc ) INLINE ; SendMessage( ::hWnd, PBM_SETSTEP, ::nStep := nStepInc ) y desde ...