Search found 66 matches: getwindowlong

Return to advanced search

Re: bOr / nOr : how to "add" Constante under FiveWin

... So the new TGrid class already has all methods of TControl and TWindow. You need not spend your time in writing code from scratch like using GetWindowLong(...) and SetWindowLong(..). All such things are already available in a very simple and userfriendly way. A user of TGrid class can oGrid ...
by nageswaragunupudi
Tue Oct 18, 2022 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bOr / nOr : how to "add" Constante under FiveWin
Replies: 8
Views: 405

Re: Desktop Alerts

... LWA_ALPHA 2 #define GWL_EXSTYLE -20 #define WS_EX_LAYERED 524288 Function SetTransparent( oDlg ) SetWindowLong( oDlg:hWnd, GWL_EXSTYLE, nOr( GetWindowLong( oDlg:hWnd, GWL_EXSTYLE ), WS_EX_LAYERED ) ) SetLayeredWindowAttributes( oDlg:hWnd, 0, 160, 2 ) return nil
by ronaldo
Thu Apr 12, 2018 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Desktop Alerts
Replies: 39
Views: 29491

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6332

Re: EJECUTAR UN .EXE

... para cerrar // la aplicación ( en este caso La calculadora ) #define SC_CLOSE 61536 #define WM_SYSCOMMAND 274 // Constante para usar con GetWindowLong y SetWindowLong #define GWL_STYLE -16 // Constantes para SetWindowPos #define SWP_FRAMECHANGED 0x0020 #define SWP_NOMOVE 0x0002 #define ...
by Claudio Leiva
Mon Mar 27, 2017 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EJECUTAR UN .EXE
Replies: 13
Views: 2270

Ventana Modal

... DIALOG oDlg ON INIT SetParent( o:hWnd, o:oModal:hWnd ) return 0 HB_FUNC( QUITARESTILO ) { HWND hWnd = (HWND) hb_parnl( 1 ); DWORD dwStyle = GetWindowLong( hWnd, GWL_STYLE ); dwStyle &= ~ ((DWORD)hb_parnl(2)); SetWindowLong( hWnd, GWL_STYLE, dwStyle ); } Se tendría que ajustar la ventana ...
by pgfdz
Tue Dec 20, 2016 2:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ventana Modal
Replies: 5
Views: 1090

Re: Mejoras para scintilla

... esta linha para resolver um problema com a message bar ao mover o mouse com a clausula 2007 SetWindowLong( oWnd:oMsgBar:hWnd, GWL_STYLE, nOr( GetWindowLong( oWnd:oMsgBar:hWnd, GWL_STYLE ), WS_CLIPCHILDREN ) ) Qué sistema operativo utilizas? Voy a mirar Gracias Aplicado y funcionando Muchas ...
by cnavarro
Thu Nov 10, 2016 10:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839459

Re: Mejoras para scintilla

... esta linha para resolver um problema com a message bar ao mover o mouse com a clausula 2007 SetWindowLong( oWnd:oMsgBar:hWnd, GWL_STYLE, nOr( GetWindowLong( oWnd:oMsgBar:hWnd, GWL_STYLE ), WS_CLIPCHILDREN ) ) Qué sistema operativo utilizas? Voy a mirar Gracias
by cnavarro
Thu Nov 10, 2016 10:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839459

Re: Mejoras para scintilla

... esta linha para resolver um problema com a message bar ao mover o mouse com a clausula 2007 SetWindowLong( oWnd:oMsgBar:hWnd, GWL_STYLE, nOr( GetWindowLong( oWnd:oMsgBar:hWnd, GWL_STYLE ), WS_CLIPCHILDREN ) )
by MGA
Thu Nov 10, 2016 9:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839459

Re: error FWH 15.05 with xHarbour.com

... on: https://msdn.microsoft.com/en-us/library/windows/desktop/ms633585%28v=vs.85%29.aspx When compiling for 32-bit Windows, GetWindowLongPtr is defined as a call to the GetWindowLong function. Please add this code to your main PRG: #pragma BEGINDUMP #include <windows.h> ...
by Antonio Linares
Fri Jun 05, 2015 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error FWH 15.05 with xHarbour.com
Replies: 15
Views: 2623

Re: Modifly on fly text of Say and button objects

Ok Thank You very Much

It works in this way not -1 but 65535


if GetWindowLong( hCtrl, GWL_ID ) == 65535

I use Pelles

Best regards
Marco
by MarcoBoschi
Tue Dec 09, 2014 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Modifly on fly text of Say and button objects
Replies: 3
Views: 590

Re: xHarbour 1.2.3 build 20141106

... SetWindowLongPtr with GWLP_USERDATA insted of SetWindowLong with GWL_USERDATA ( 64bits compilation) * contrib/xwt/src/xwt_win/xwt_win.h ! using GetWindowLongPtr with GWLP_USERDATA insted of GetWindowLong with GWL_USERDATA ( 64bits compilation) * contrib/xwt/src/xwt_win/xwt_win_framewnd.c ! using ...
by Enrico Maria Giordano
Thu Dec 04, 2014 5:09 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour 1.2.3 build 20141106
Replies: 16
Views: 5821

Re: problem with tlayout

... #include "ribbon.ch" #include "gif.ch" #pragma BEGINDUMP #include <windows.h> #ifndef _WIN64 #undef GetWindowLongPtr LONG_PTR GetWindowLongPtr( HWND hWnd, int nIndex ) { return GetWindowLong( hWnd, nIndex ); } #endif #pragma ENDDUMP function main() ...
by kajot
Sun Nov 17, 2013 10:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with tlayout
Replies: 14
Views: 5591

Re: "Snap" for Clipper

...  1733  3323 GETWIDTH()             (function  in ?)    WINDOW.PRG      620 GETWINDOW()            (function  in ?)    WINDOW.PRG     3261  3289 GETWINDOWLONG()        (function  in ?)    WINDOW.PRG      531   881  2776  3867  3942  3960  3980  4088 GETWINDOWTEXT()        (function  in ?)    WINDOW.PRG ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6698

Re: XBrowse y Grupo de Columnas

... WS_BORDER style (when I redefine control)? lAnd( oBrw:nStyle, WS_BORDER ) checks only for browse created from sourcecode. Use this check lAnd( GetWindowLong( oBrw:hWnd, GWL_STYLE ), WS_BORDER ) after the window is created. Si, ese era el problema, lo tengo que comprobar antes del CreateFrom.....() ...
by cnavarro
Wed Aug 21, 2013 11:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse y Grupo de Columnas
Replies: 24
Views: 9419

Re: XBrowse y Grupo de Columnas

... WS_BORDER style (when I redefine control)? lAnd( oBrw:nStyle, WS_BORDER ) checks only for browse created from sourcecode. Use this check lAnd( GetWindowLong( oBrw:hWnd, GWL_STYLE ), WS_BORDER ) after the window is created. In recent versions of FWH you can also Query ? oBrw:WinStyle( WS_BORDER ...
by nageswaragunupudi
Wed Aug 21, 2013 10:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse y Grupo de Columnas
Replies: 24
Views: 9419
Next

Return to advanced search