Search found 14 matches: systemparametersinfo

Return to advanced search

Re: Problem with Vtaskbar of Paco

...  hOldFont   := SelectObject(  hDC, hFont ) the function is this HB_FUNC( CREAFCAPT ) { NONCLIENTMETRICS info; info.cbSize = sizeof(info); SystemParametersInfo( SPI_GETNONCLIENTMETRICS, sizeof(info), &info, 0 ); hb_retnl( (LONG ) CreateFontIndirect( &info.lfCaptionFont ) ); } what ...
by Silvio.Falconi
Mon Jan 25, 2016 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Vtaskbar of Paco
Replies: 1
Views: 451

Re: height of taskbar

Yes, I was wrong: according to MSDN, SystemParametersInfo() can also be used to set the parameters but I never done it and can't help you, sorry.

EMG
by Enrico Maria Giordano
Wed Feb 02, 2011 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: height of taskbar
Replies: 11
Views: 3270

Re: Re:

Bayron wrote:This same function SystemParametersInfo() can be used to set the height of the top window border.. Am I right???


No, as far as I know.

EMG
by Enrico Maria Giordano
Mon Jan 31, 2011 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: height of taskbar
Replies: 11
Views: 3270

Re:

Enrico,

This same function SystemParametersInfo() can be used to set the height of the top window border.. Am I right???

Do you think you can help me with it????? I am building a Touch Screen App, the default sysmenu is too small for that...
by Bayron
Mon Jan 31, 2011 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: height of taskbar
Replies: 11
Views: 3270

Re: High contrast screen for non blind user - Antonio ?

Marco, Maybe this will help: DllCall( "user32.dll", NIL, "SystemParametersInfo", 0, 0, 0, 0 ) Where the 0s are the parameters. I have never used it, I just found it in a Google search here: http://article.gmane.org/gmane.comp.lang.harbour.devel/2781 ...
by James Bott
Tue Sep 22, 2009 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: High contrast screen for non blind user - Antonio ?
Replies: 9
Views: 2709

Re: High contrast screen for non blind user - Antonio ?

Hi all, is there any C guru able to convert this VB6 call SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long into xharbour ...
by Marco Turco
Tue Sep 22, 2009 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: High contrast screen for non blind user - Antonio ?
Replies: 9
Views: 2709

Re: High contrast screen for non blind user - Antonio ?

... VB 6 Code 'Declarations Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As ...
by anserkk
Thu Sep 17, 2009 10:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: High contrast screen for non blind user - Antonio ?
Replies: 9
Views: 2709

Re: High contrast screen for non blind user - Antonio ?

Windows software can check for the high contrast setting by calling the SystemParametersInfo function with the SPI_GETHIGHCONTRAST value. Applications should query and support this value during initialization and when processing WM_COLORCHANGE messages. Use ...
by anserkk
Thu Sep 17, 2009 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: High contrast screen for non blind user - Antonio ?
Replies: 9
Views: 2709

Marcelo,

It seems that Windows API function SystemParametersInfo() lets change some of the system settings. We have never tested it.

http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx
by Antonio Linares
Fri Jul 18, 2008 7:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Width of border dialog
Replies: 7
Views: 1129

... FAR * ) _parc( 11 ): 0 ) ); // Address Window-Creation-Data } /* * GetWorkRect() created by George J. Hanson on 12/15/2000 1:18AM * * Wrapper to SystemParametersInfo(SPI_GETWORKAREA,... * Retrieves the size of the work area on the primary display monitor. * The work area is the portion of the ...
by xhbcoder
Thu May 08, 2008 4:48 pm
 
Forum: FiveWin for CA-Clipper
Topic: Converting POS application to xHarbour + FWH
Replies: 50
Views: 15562

Me respondo a mi mismo: HB_FUNC(ISEMULATOR) { WCHAR wszMachineName[128]; SystemParametersInfo(SPI_GETOEMINFO, sizeof(wszMachineName), &wszMachineName, 0); hb_retl( strcmp( wszMachineName,L"Microsoft DeviceEmulator" ) == 0 ) ; } HB_FUNC(GETOEMINFO) { WCHAR ...
by tsales
Mon Jan 28, 2008 12:33 pm
 
Forum: FiveWin para Pocket PC
Topic: Saber si una palicacion se ejecuta en el emulador
Replies: 2
Views: 777

SystemParametersInfo..como usar ?

Como devo usar a SystemParametersInfo ?

Assim retorna me erro:

SystemParametersInfo(1)

Unresolved external _HB_FUN_SystemParametersInfo

Saludos
by Ale SB
Mon Oct 08, 2007 9:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SystemParametersInfo..como usar ?
Replies: 2
Views: 601

Randal,

You may try to fine tune the mouse speed using SystemParametersInfo() and the SPI_SETMOUSE flag. Also check mouse_event().
by Antonio Linares
Fri May 26, 2006 6:33 am
 
Forum: FiveWin for Pocket PC
Topic: Signatures
Replies: 2
Views: 1035

Re: height of taskbar

Yes, but you have to subtract the value returned by the API SystemParametersInfo() with the argument SPI_GETWORKAREA.

EMG
by Enrico Maria Giordano
Wed Apr 26, 2006 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: height of taskbar
Replies: 11
Views: 3270

Return to advanced search