Search found 64 matches: lparam

Return to advanced search

Re: erro xhb fwh23-10

... (MCM_FIRST + 32) BOOL MonthCal_SetCurrentView( void * hmc, DWORD dwNewView ) { return ( BOOL ) SendMessage( hmc, MCM_SETCURRENTVIEW, 0, (LPARAM) ( dwNewView ) ); } #pragma ENDDUMP
by Antonio Linares
Tue Sep 24, 2024 6:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: erro xhb fwh23-10 e 23-07
Replies: 2
Views: 144

Re: Small Question about Word and FWH

... 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(). ...
by Antonio Linares
Mon Jul 17, 2023 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 2242

Re: Trabajar con dos pantallas

... 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 ...
by antolin
Tue Jan 10, 2023 5:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Trabajar con dos pantallas
Replies: 10
Views: 1100

Re: HB_FUNC() : wParam, lParam = 0,0 for Macro

hi Enrico,

Enrico Maria Giordano wrote:This is not tied to a particular compiler, this is the normal C cast (conversion to type).

i talk about Macro which "might" make Problem so HMG use SendMessage() which also work under FiveWin BCC / MSVC
by Jimmy
Sun Nov 06, 2022 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_FUNC() : wParam, lParam = 0,0 for Macro
Replies: 5
Views: 452

Re: HB_FUNC() : wParam, lParam = 0,0 for Macro

Jimmy wrote:
Code: Select all  Expand view  RUN
  SendMessage ( hWnd, LVM_*, (WPARAM) x, (LPARAM) y)


This is not tied to a particular compiler, this is the normal C cast (conversion to type).
by Enrico Maria Giordano
Sun Nov 06, 2022 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_FUNC() : wParam, lParam = 0,0 for Macro
Replies: 5
Views: 452

Re: HB_FUNC() : wParam, lParam = 0,0 for Macro

... --- 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 ...
by Jimmy
Sun Nov 06, 2022 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_FUNC() : wParam, lParam = 0,0 for Macro
Replies: 5
Views: 452

HB_FUNC() : wParam, lParam = 0,0 for Macro

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) ...
by Jimmy
Sun Nov 06, 2022 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_FUNC() : wParam, lParam = 0,0 for Macro
Replies: 5
Views: 452

Re: Notify Event for own Control

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 ...
by Jimmy
Tue Oct 18, 2022 11:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Notify Event for own Control
Replies: 4
Views: 514

Re: If you send me an email and you don't get my answer...

... 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, ...
by carlos vargas
Fri Jul 08, 2022 5:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: If you send me an email and you don't get my answer...
Replies: 27
Views: 2222

Re: Printing RTF using CreateTextServices()

... placed a question in StackOverflow: https://stackoverflow.com/questions/71005308/ptextservices-txsendmessage-em-streamin-wparam-sf-rtf-lparam-editst
by Antonio Linares
Sun Feb 06, 2022 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing RTF using CreateTextServices()
Replies: 6
Views: 735

Re: *** Curso de C para programadores Harbour.

... 0 ); GlobalFreePtr( pi2 ); // notify applications that the default DEVMODE has changed SendMessageTimeout( HWND_BROADCAST, WM_DEVMODECHANGE, 0, (LPARAM)szPrinter, SMTO_NORMAL, 1000, NULL );
by Otto
Mon Jul 12, 2021 8:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: *** Curso de C para programadores Harbour.
Replies: 141
Views: 25637

Re: SetLandscape

... 0 ); GlobalFreePtr( pi2 ); // notify applications that the default DEVMODE has changed SendMessageTimeout( HWND_BROADCAST, WM_DEVMODECHANGE, 0, (LPARAM)szPrinter, SMTO_NORMAL, 1000, NULL );
by Otto
Mon Jun 14, 2021 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetLandscape
Replies: 11
Views: 1634

Re: Bug in TMenu

... 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" ------------------------------------- ...
by cnavarro
Sat Jan 05, 2019 4:31 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TMenu [Fixed]
Replies: 9
Views: 5113
Next

Return to advanced search