Search found 80 matches: winuser

Return to advanced search

Re: Xbase++ :lockUpdate() -> Fivewin ?

... 1 ) ) )      LockWindowUpdate( ( HWND ) 0 );} https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-lockwindowupdate
by Antonio Linares
Fri Nov 03, 2023 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 760

Re: Xbase++ :lockUpdate() -> Fivewin ?

hi,

have a look at https://learn.microsoft.com/de-de/windows/win32/api/winuser/nf-winuser-lockwindowupdate

i use it e,g, when "re-size" a Window and do NOT want "paint" until all is finish
by Jimmy
Thu Nov 02, 2023 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 760

Re: Moving the dialog

...   endif ::cPS is initialized from METHOD _BeginPaint() and contains a PAINTSTRUCT: https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-paintstruct in such structure you have the area which is going to be updated
by Antonio Linares
Mon Oct 23, 2023 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Moving the dialog
Replies: 8
Views: 497

Re: Change of control owner

Dear Yuri,

When you create the TButton you use .. OF <TPanelObject>

Another way is to use Windows API function SetParent()
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setparent
by Antonio Linares
Fri Apr 14, 2023 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change of control owner
Replies: 1
Views: 139

Re: Can I get object from handle?

... have only 1 x Control you can use FindWindowEx() "inside" FindWindow() https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexa https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexw 3rd Parameter "lpszClass" ...
by Jimmy
Fri Apr 14, 2023 5:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1346

Re: How to fill edit box and click button in another application

... need FindWindowEx() and "lpszClass" of Control e.g. "Button" https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexa   hWndChildAfter := 0   lpszClass := "Button"   lpszWindow := NIL     // -> Title / Caption   nTo := FindWindowEx(hWnd, ...
by Jimmy
Wed Feb 15, 2023 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill edit box and click button in another application
Replies: 13
Views: 1407

Re: Position of Window CENTER ?

Dear Jimmy,

FWH SetCursorPos() lets you place the mouse pointer where desired:

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setcursorpos
by Antonio Linares
Mon Nov 14, 2022 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Position of Window CENTER ?
Replies: 10
Views: 494

Xbase++ :lockUpdate() -> Fivewin ?

... --- i do have search for "LockWindowUpdate" but not found under Fivewin https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-lockwindowupdate i use this under HMG #include "DLL.CH"#define DLL_STDCALL                 0x20STATIC PROCEDURE DoResize( ...
by Jimmy
Sat Nov 12, 2022 2:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 760

Re: Window in the foreground

Code: Select all  Expand view
if GetForeGroundWindow() == oWndMain:hWnd
   MsgInfo( "you app is in foreground" )
endif

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getforegroundwindow
by Antonio Linares
Thu Sep 15, 2022 7:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window in the foreground
Replies: 7
Views: 386

Re: ¿cómo verificar la resolución de pantalla de Windows?

Master Antônio, la razón por la que no funciona en Windows 10, ¿tiene algo que ver con esta función de micro$oft?

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changedisplaysettingsa

Gracias,

Reagrds, saludos.
by karinha
Sat Sep 03, 2022 5:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿cómo verificar la resolución de pantalla de Windows?
Replies: 16
Views: 894

Re: Hierarchy of windows

hi, under HMG we have this Function https://docs.microsoft.com/de-de/windows/win32/api/winuser/nf-winuser-getnextwindow?redirectedfrom=MSDN HB_FUNC (GETNEXTWINDOW){   HWND hWnd     = (HWND) HMG_parnl (1);   HWND hWndNext = GetWindow ...
by Jimmy
Wed Aug 10, 2022 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hierarchy of windows
Replies: 6
Views: 528

Re: Different style of window

... for harbour HMG by Auge & Ohr, Jimmy*****************************/#include "Common.ch"#include "dll.ch"#include "winuser.ch"/* Toggle window properties   Example:   A. To turn off (disable) the Maximise button:       SetWindowPropertyOff( oDlg, WS_MAXIMIZEBOX ...
by Jimmy
Wed May 18, 2022 12:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different style of window
Replies: 10
Views: 803

Re: Resolution of monitor

... --- for multi-Monitor you need MonitorFromWindow https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-monitorfromwindow GetScaleFactorForMonitor https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/nf-shellscalingapi-getscalefactorformonitor ...
by Jimmy
Sun Dec 26, 2021 5:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2551

Re: Starting monitor

by Antonio Linares
Wed Dec 08, 2021 5:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Starting monitor
Replies: 15
Views: 1438
Next

Return to advanced search

cron