Search found 32 matches: wndcenter

Return to advanced search

Re: Focus error on this new project

... // For other looking design, but windows related? I saw a post that this can have a conflict when a Dialog is reused? FW_SetUnicode( .T. ) WndCenter( oWnd:hWnd ) tGet():lDisColors := .F. // WHEN( .F. ) COR. tGet():nClrTextDis := CLR_HBLUE tGet():nClrPaneDis := CLR_SOFTYELLOW IF Set( _SET_INSERT, ...
by Marc Venken
Tue Jan 11, 2022 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1161

Re: buttons and datepick on xbrowse

... oBtn[2] id 103 of odlf action(lSelecao := .f., oDlf:End()) cancel oDlf:lHelpicon := .f. activate dialog oDlf on init(IIf(ValType( nRow ) != 'N', WndCenter(oDlf:hWnd), oDlf:move(nRow,nCol))) return(dDate) /*************************************************************************************************************/ ...
by MGA
Wed May 09, 2018 10:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3261

Re: buttons and datepick on xbrowse

... oBtn[2] id 103 of odlf action(lSelecao := .f., oDlf:End()) cancel oDlf:lHelpicon := .f. activate dialog oDlf on init(IIf(ValType( nRow ) != 'N', WndCenter(oDlf:hWnd), oDlf:move(nRow,nCol))) return(dDate) /*************************************************************************************************************/ ...
by MGA
Wed May 09, 2018 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3261

Re: Desktop Alerts

... oDlg, "Shell.Explorer.2",-3,-2,oDlg:nWidth-20,178 ),; oLbx:Do( "Navigate", curdir() + "\aviso.html"),; if(lCenter, WndCenter( oDlg:hWnd),)} if lAguarda ACTIVATE DIALOG oDlg ON INIT (oDlg:Move(aPos[1],aPos[1]), ; oDlg:SetColor(CLR_WHITE, oCor),; if(lTransparente, ...
by ronaldo
Tue Apr 10, 2018 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Desktop Alerts
Replies: 39
Views: 29491

New FTDN January/Enero 2018 (FWH 18.01)

... * Enhancement: CLASS TScintilla METHOD MnuMargen(), added clause COLORS to the popup menu definition: MENU oMnu POPUP COLORS * Fix: function WndCenter() was not properly working for a window contained inside a parent window. Now it is ok. * TGET.prg: Painting of right/center aligned text ...
by Antonio Linares
Wed Feb 14, 2018 5:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2018 (FWH 18.01)
Replies: 1
Views: 2572

Re: Cambiar puntero mouse

... @ 0, 50 XIMAGE oImage2 SIZE 32, 32 FILENAME "C:\fwh\bitmaps\32x32\App.bmp" NOBORDER OF oWnd oImage2 :oCursor := oCursor En la función WndCenter() en FWH/source/winapi/wndcente.c hay que hacer esta modificación:   if( hParent && IsWindow( hParent ) )      GetClientRect( ...
by Antonio Linares
Mon Jan 15, 2018 5:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar puntero mouse
Replies: 9
Views: 1768

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: Connect to Advantage Database

Hi Antonio , I try to make some test on FLH this morning. After install UBUNTU 14.04 LTS and all the packages needs to compile FLH i've a lot of errors like this: compiling... Harbour 2.1.0rc2 (Rev. 16643) Copyright (c) 1999-2011, http://harbour-project.org/ Compiling 'tutor01.prg'... Lines 1097, Fu...
by giuliano
Thu Aug 06, 2015 10:43 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Connect to Advantage Database
Replies: 31
Views: 11181

Re: Resource Dialogs change with PC's

... // ntop,nleft,nbottom,nright end case next // aRect = GetWndRect( ::hWnd ) ::Move( ntop,nleft,::nWidth*rsl0, ::nHeight*rsl1, .T. ) if ::lCentered WndCenter( ::hWnd ) else if Empty( ::cResName ) ::Move( ::nTop, ::nLeft ) endif endif return in prg: ACTIVATE DIALOG odlg ON INIT (odlg:autoresize())
by ShumingWang
Wed Apr 30, 2014 3:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource Dialogs change with PC's
Replies: 6
Views: 1467

Re: Position of msg* dialogs

... aRect[1] + ( aRect[3] / 2 ) - ( nMaxHeight / 2 ), ; aRect[2] + ( aRect[4] / 2 ) - ( nMaxWidth / 2 ), , , .f. ) ELSE // centered on Main-window WndCenter(oDlg:hWnd) ENDIF Best Regards Uwe :lol:
by ukoenig
Tue Jul 17, 2012 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Position of msg* dialogs
Replies: 4
Views: 1067

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Hi Antonio Here is the stripped down list, for clarity purpose the irrelevant entries are removed. ---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------...
by Pritpal Bedi
Mon Jun 07, 2010 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99075

Re: GetPrintDC()

... de Cliente" Endif if IsAppThemed() *FixSays( oBar:hWnd ) endif #ifndef __XPP__ oFactor:Set3dLook() #endif oWnd:cargo := oDevice WndCenter( oWnd:hWnd ) SysRefresh() SetResources(hOldRes) oWnd:oHScroll:bPos := {|nPos| hScroll(GO_POS, .f., nPos)} oWnd:oVScroll:bPos := {|nPos| vScroll(GO_POS, ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

Re: FWH/xHarbour Menus

... ) hCtrl = GetWindow( hCtrl, GW_HWNDNEXT ) lEnd = ! ( ( hCtrl != 0 ) .and. ( GetParent( hCtrl ) == ::hWnd ) ) end endif endif #endif if ::lCentered WndCenter( ::hWnd ) else if Empty( ::cResName ) ::Move( ::nTop, ::nLeft ) endif endif if ::cCaption != nil SetWindowText( ::hWnd, ::cCaption ) endif ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7758

Re: HOLA

... ) Auto800( oWnd:aDialogs[nContador], .F. ) EndFor EndIf EndIf EndIf If lRepaint If( ( "DIALOG" $ oWnd:Classname() ) .and. oWnd:lCentered, WndCenter( oWnd:hWnd ) , Nil ) oWnd:Show() EndIf EndIf Return Nil ////////////////////////////////// Una vez que incluyas esta función en tus fuentes, ...
by Manuel Valdenebro
Thu Nov 20, 2008 6:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: oTop, oLeft, oBottom, oRight, oClient para redimensionar ??
Replies: 19
Views: 4080

Problem with Editor of Source

... DEFAULT nState OF oIni GET cIncPath SECTION "Pre-processor" ; ENTRY "IncludePath" DEFAULT cIncPath OF oIni ENDINI IF nRow == 0 .AND. nCol == 0 WndCenter(odlge:hWnd) ELSE odlge:Move(nRow, nCol, nWidth, nHeight) ENDIF IF nState == ST_ICONIZED //odlge:Minimize() ELSEIF nState == ST_ZOOMED //odlge:Maximize() ...
by Vladimir Zorrilla
Wed Jun 18, 2008 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Editor of Source
Replies: 1
Views: 1526
Next

Return to advanced search