Search found 63 matches: setwindowlong

Return to advanced search

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

... 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  := TGrid():New( ...
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: Display thumbnails of pdfs

hi Antonio, SetWindowLong( oList:hWnd, -16, nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP, LVS_REPORT ) ) HB_FUNC() in c:\fwh\source\winapi\listview.c is special for Listview_Group it have LVITEM and LVGROUP Structure but not LVCOLUMN which ...
by Jimmy
Sun Oct 16, 2022 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Display thumbnails of pdfs
Replies: 33
Views: 2266

Re: Display thumbnails of pdfs

Dear Jimmy,

Please search for LISTVIEW in FWH\samples folder and you will find six results

I guess you could use:
SetWindowLong( oList:hWnd, -16, nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP, LVS_REPORT ) )
used in samples\listvie.prg
by Antonio Linares
Sun Oct 16, 2022 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Display thumbnails of pdfs
Replies: 33
Views: 2266

Re: Frame around window

Yes, but can do/remove the border via SetWindowLong() ? I found a information to change the window-style //* New: New function __ChangeStyleWindow( hWnd, nStyle, nStyleType, lAdd ) in etc.prg, provided by: //Hernan Diego Ceccarelli! It allows ...
by ukoenig
Thu Jun 20, 2019 11:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Frame around window
Replies: 5
Views: 745

Re: Frame around window

Yes, but can do/remove the border via SetWindowLong() ?
by Natter
Thu Jun 20, 2019 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Frame around window
Replies: 5
Views: 745

Re: Desktop Alerts

... coloque junto esta função... #define 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, ...
by ronaldo
Thu Apr 12, 2018 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Desktop Alerts
Replies: 39
Views: 29488

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: 6329

Re: EJECUTAR UN .EXE

... // 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 SWP_NOSIZE 0x0001 ...
by Claudio Leiva
Mon Mar 27, 2017 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EJECUTAR UN .EXE
Replies: 13
Views: 2242

Ventana Modal

... 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 a las coordenadas 0,0 del área cliente de la caja de diálogo y hacer ...
by pgfdz
Tue Dec 20, 2016 2:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ventana Modal
Replies: 5
Views: 1078

Re: enventos del mouse en MDI

Como la ventana cliente usa una clase predefinida de Windows, "MDICLIENT", la única solución
que se me ocurre seria intentar modificar esa clase usando SetWindowLong() y añadirle el estilo CS_DBLCLKS

#define CS_DBLCLKS 0x0008
by Antonio Linares
Thu Nov 10, 2016 8:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enventos del mouse en MDI
Replies: 3
Views: 552

Re: Mejoras para scintilla

... clausula 2007 nao piscar ao mover o mouse //Adicionei 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? ...
by cnavarro
Thu Nov 10, 2016 10:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839283

Re: Mejoras para scintilla

... clausula 2007 nao piscar ao mover o mouse //Adicionei 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? ...
by cnavarro
Thu Nov 10, 2016 10:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 839283

Re: Mejoras para scintilla

... clausula 2007 nao piscar ao mover o mouse //Adicionei 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: 839283

EXCEL - Desalineado con la ventana.

... Valid(ValidExcel( oExcel )) return /*********************************************/ static procedure OnInitExcel(oExcel) /* */ SetWindowLong(oExcel:hWnd,-16,"L") oExcel:DisplayAlerts := .F. oExcel:ActiveWorkBook:Protect('',.f.,.f.) //Para poder manupilar el estado ...
by MGA
Mon Oct 03, 2016 1:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCEL - Desalineado con la ventana.
Replies: 11
Views: 2615

Re: Colocar Excel/Word en Aplicacion

... Valid(ValidExcel( oExcel )) return /*********************************************/ static procedure OnInitExcel(oExcel) /* */ SetWindowLong(oExcel:hWnd,-16,"L") oExcel:DisplayAlerts := .F. oExcel:ActiveWorkBook:Protect('',.f.,.f.) //Para poder manupilar el estado ...
by MGA
Sun Aug 28, 2016 9:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colocar Excel/Word en Aplicacion
Replies: 10
Views: 3132
Next

Return to advanced search