Search found 52 matches: setwindowpos

Return to advanced search

Re: WebView2 Essentials: Guides, Tips & Resources

... The code seems to manage an array aWebViews to keep track of web view instances. The usage of inline C-like functions (e.g., WebView_Create, SetWindowPos) suggests integration with lower-level system APIs or another library for web view control. The class design is focused on interaction ...
by Otto
Wed Jan 10, 2024 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 Essentials: Guides, Tips & Resources
Replies: 2
Views: 481

Re: TOPMOST

i also found this CODE Code: SetWindowPos( oObj:hWnd, HWND_TOPMOST ,; oObj:nTop, oObj:nLeft ,; oObj:nWidth, oObj:nHeight ) which i can use at INIT Is this working as expected? YES :D Can this be useful? SetForegroundWindow( oWnd:hWnd ...
by Jimmy
Sat Nov 05, 2022 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TOPMOST
Replies: 7
Views: 340

Re: TOPMOST

i also found this CODE
Code:
SetWindowPos( oObj:hWnd, HWND_TOPMOST ,;
oObj:nTop, oObj:nLeft ,;
oObj:nWidth, oObj:nHeight )

which i can use at INIT

Is this working as expected?

Can this be useful?
Code: Select all  Expand view
SetForegroundWindow( oWnd:hWnd
by nageswaragunupudi
Sat Nov 05, 2022 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TOPMOST
Replies: 7
Views: 340

Re: New Class TWebView in next FWH build

Dear Hakan, You can use SetWindowPos( oWebView:GetWindow(), 0, nX, nY, nWidth, nHeight, 4 ) You can run any javascript so you can do this from your FWH app: oWebView:Eval( "window.status = 'Some text in the status bar!!';" ) ...
by Antonio Linares
Tue Jun 21, 2022 3:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class TWebView in next FWH build
Replies: 23
Views: 2213

Re:

Quique, Aqui tienes un ejemplo de como cambiar el zorder de los controles. Fijate que la clave está en llamar a la función SetWindowPos() con unos determinados parámetros. Te adjunto la documentación de ese parámetro: #include "FiveWin.ch"#define HWND_TOP           0#define ...
by AngelSalom
Fri Jan 08, 2021 5:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como subir o bajar controles encimados
Replies: 9
Views: 1942

Re: How to make MS WORD on top?

Switch from TOP to NORMAL @ 20, 80 BTNBMP oBtn1 2007 ; SIZE 30, 30 OF oDlg NOBORDER ; PROMPT "Top" ; ACTION ( SetWindowPos( oDlg:hWnd, -1, 0, 0, 0, 0, 3 ),; WinExec( "Notepad.exe" ) ) close Notepad and reopen with button 2 @ 20, 130 BTNBMP oBtn2 2007 ; SIZE 30, ...
by ukoenig
Thu Mar 19, 2020 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make MS WORD on top?
Replies: 5
Views: 733

Re: Bring Dialog to Top on System Tray App

... to the front of the desktop. I have tried oDlg:GoTop() Tried BringWindowToTop( oDlg:hWnd ) oDlg:SetFocus() ACTIVATE DIALOG oDlg CENTERED ; ON INIT SETWINDOWPOS( oDlg:hWnd, -1, 0, 0, 0, 0, 3 ) A possible usage : I added a switch to change from on top to taskbar to the installer connected to the ...
by ukoenig
Wed Jan 29, 2020 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bring Dialog to Top on System Tray App
Replies: 1
Views: 572

Re: SendToBack

Dear Otto,

You may use SetWindowPos() with the HWND_BOTTOM flag:

https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setwindowpos
by Antonio Linares
Wed Jan 09, 2019 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SendToBack
Replies: 3
Views: 628

Re: Capturando una aplicación externa y fijando coordenadas

... capturada no respeta ni el tamaño ni las coordenadas y siempre aparece en el mismo sitio de la pantalla. Además de eso si el segundo parámetro de setwindowPos(oWnd:hWnd, 0 , 10, 10, 711, 211, 4) es CERO, con el bloc de notas no ocurre pero el teclado virtual hace un flash y desaparece, solo permanece ...
by José Vicente Beltrán
Thu May 31, 2018 1:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturando una aplicación externa y fijando coordenadas
Replies: 10
Views: 2239

Re: To Marc -> A xBrowse-image colorpicker

... STATIC nOntop := 1 LOCAL oOnTop Add 2 radios REDEFINE RADIO oOntop VAR nOntop ID 610, 611 OF oDlgMain UPDATE ; ON CHANGE IIF( nOntop = 1, SetWindowPos( oDlgMain:hWnd, -1, 0, 0, 0, 0, 3 ), ; // On Top SetWindowPos( oDlgMain:hWnd, -2, 0, 0, 0, 0, 3 ) ) AEval( oOntop:aItems, { | oRad | oRad:lTransparent ...
by ukoenig
Wed Nov 15, 2017 8:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Colorpicker and RGB-tools
Replies: 53
Views: 7974

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6358

Re: EJECUTAR UN .EXE

... #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 #define SWP_NOZORDER 0x0004 #define HWND_TOP 0 CLASS ...
by Claudio Leiva
Mon Mar 27, 2017 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EJECUTAR UN .EXE
Replies: 13
Views: 2285

Re: align get

Enrico,

Is it working fine ?

Parameters for SETWINDOWPOS() are not correct
by Antonio Linares
Mon Aug 22, 2016 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: align get
Replies: 13
Views: 2078

Re: align get

... { m_TestEdit.ModifyStyle( ES_LEFT, ES_RIGHT ); m_TestEdit.Invalidate(); } MFC’s ModifyStyle does SetWindowLong and SetWindowPos( SWP_FRAMCHANGED)
by Antonio Linares
Mon Aug 22, 2016 6:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: align get
Replies: 13
Views: 2078

Re: dialogo o ventana pantalla completa

... Armando consegui esto, espero te ayude...saludos... :shock: http://forums.fivetechsupport.com/viewtopic.php?f=6&t=24061&p=129634&hilit=SetWindowPos&sid=843b1321ba72b79b6ddf67e8d49c18b1#p129634 http://forums.fivetechsupport.com/viewtopic.php?f=6&t=14366&p=74173&hilit=SetWindowPos&sid=843b1321ba72b79b6ddf67e8d49c18b1#p74173 ...
by joseluisysturiz
Fri Jan 29, 2016 6:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: dialogo o ventana pantalla completa
Replies: 12
Views: 1265
Next

Return to advanced search