... 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 before invoking cWord:Quit(). ...
... me da un valor correcto. Pero para eso el MDI tiene que estar abierto y necesito saber las dimensiones antes de que se abra... El valor lo trae el LParam del método HandleEvent() de TWindows. Lo suyo sería simular una maximización de pantalla para captar el LParam de HandleEvent() antes de definir ...
... --- 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 / MSVC but it seems to ...
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) ...
to use Notify Event LVN_GETDISPINFO i need Structure LV_DISPINFO (NMLVDISPINFO) and lParam i have found GetLParam( nPtrNMHDR ) and try to use it in METHOD Notify() but i only got 0 (zero) METHOD Notify( nIdCtrl, nPtrNMHDR ) CLASS TGridLOCAL nOptionLOCAL ...
... como macros o algo asi en commctrl.h ejemplo #define MonthCal_SetCurrentView(hmc, dwNewView) (WINBOOL)SNDMSG (hmc, MCM_SETCURRENTVIEW, 0,(LPARAM) (dwNewView)) y he notado que un poco mas arriba hay una compilacion condicional #if NTDDI_VERSION >= 0x06000000 tal vez por eso no son incluidas, ...
... placed a question in StackOverflow: https://stackoverflow.com/questions/71005308/ptextservices-txsendmessage-em-streamin-wparam-sf-rtf-lparam-editst
... UINT itemWidth; UINT itemHeight; ULONG_PTR itemData; } MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT; que es pasada como parámetro lParam en el mensaje WM_MEASUREITEM, por favor, comparta su solución, para poder implementarlo de una forma más "limpia" ------------------------------------- ...