Search found 23 matches: noldproc

Return to advanced search

Re: Tgroup color border

Dear Silvio,

Class TGroup is based on a standard Windows class, so we use its default paint procedure:

CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 )

and the change of the color line is not supported by Windows

A user defined Class TGroupEx should be implemented to have control on that
by Antonio Linares
Tue Oct 29, 2024 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tgroup color border
Replies: 1
Views: 100

Re: Child OF oWnd

... Control there are "more" (Array)   x :=  hb_valToExp(oMain:aControls[ii]) __itemSetObj( __itemSetRef( {{HWND, 394868}, {NOLDPROC, 4294903408}, {CCAPTION, }, {CVARNAME, oSayActive}, {NID, 102}, {TWINDOW:NTOP, 864}, {TWINDOW:NLEFT, 10}, {NBOTTOM, 893}, {NRIGHT, 649.00}, ...
by Jimmy
Thu Nov 10, 2022 5:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Child OF oWnd
Replies: 7
Views: 500

Re: Paste values into Password Protected Get Objects

... TPGet //** P3N - 06/19/14 local oClp, cText, n DEFAULT SELF:CTRL_V := ' ' do case case nMsg == WM_PASTE if GetFocus() == ::hWnd CallWindowProc( ::nOldProc, ::hWnd, WM_PASTE, 0, 0 ) if ValType( ::oGet:Original ) $ "CM" SetWindowText( ::hWnd, SubStr( GetWindowText( ::hWnd ), 1, Len( ::oGet:Original ...
by don lowenstein
Tue Oct 15, 2019 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paste values into Password Protected Get Objects
Replies: 6
Views: 1414

Re: Error con GUI y CUI

... nAt ] // esto está en la 3353 if ValType( oWnd ) == "O" aRet[ 1 ] = oWnd:HandleEvent( nMsg, nWParam, nLParam ) aRet[ 2 ] = oWnd:nOldProc endif return aRet endif return nil porque puede ser que dé este error? Gracias! Roberto Tiene toda la pinta de que hay un problema en la creacion ...
by cnavarro
Fri Aug 14, 2015 1:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error con GUI y CUI
Replies: 10
Views: 1582

Re: Error con GUI y CUI

... nAt ] // esto está en la 3353 if ValType( oWnd ) == "O" aRet[ 1 ] = oWnd:HandleEvent( nMsg, nWParam, nLParam ) aRet[ 2 ] = oWnd:nOldProc endif return aRet endif return nil porque puede ser que dé este error? Gracias!
by TOTOVIOTTI
Fri Aug 14, 2015 11:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error con GUI y CUI
Replies: 10
Views: 1582

CTRL+C minusculo e CTRL+V em GET "@!"

... RESOLVIDO ASSIM, TGET: METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TGet ... case nMsg == WM_PASTE if GetFocus() == ::hWnd CallWindowProc( ::nOldProc, ::hWnd, WM_PASTE, 0, 0 ) if ValType( ::oGet:Original ) $ "CM" SetWindowText( ::hWnd, SubStr( GetWindowText( ::hWnd ), 1, Len( ::oGet:Original ...
by MGA
Mon Dec 23, 2013 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CTRL+C minusculo e CTRL+V em GET "@!"
Replies: 3
Views: 818

Re: "Snap" for Clipper

... NNOT()                 (function  in ?)    WINDOW.PRG     3967  3986 NNOTIFYCODE            WINDOW.PRG     1374  1377  1381  1398  1401  1404 NOLDPROC                WINDOW.PRG      422  2563  2703  2704  2705  3837 NOPACITY()             (function  in ?)    WINDOW.PRG      915   917 NOR() ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 8645

Re: Dialog controls are flickering when resized..

Frances,

My mistake, I missed to remember that dialogboxes are not (Windows) subclassed so there is no a valid ::nOldProc.

We may need to subclass the dialog calling Method ::Link(). But we need to find the right place to call it.
by Antonio Linares
Sun Jun 06, 2010 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog controls are flickering when resized..
Replies: 34
Views: 10480

Re: Dialog controls are flickering when resized..

... INLINE 1ENDCLASSMETHOD Paint() CLASS TMydialog   local aInfo := ::DispBegin()     CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 )   if ValType( ::bPainted ) == "B"      Eval( ::bPainted, ::hDC, ...
by fraxzi
Sun Jun 06, 2010 1:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog controls are flickering when resized..
Replies: 34
Views: 10480

Re: Problemas con TRichEdit

... from start: 0 hours 0 mins 5 secs Error occurred at: 12/11/09, 08:57:19 Error description: Error BASE/1004 Class: 'NIL' has no exported method: NOLDPROC Args: [ 1] = U Stack Calls =========== Called from: => NOLDPROC(0) Called from: => TRICHEDIT:DESTROY(0) Called from: => TWINDOW:HANDLEEVENT(0) ...
by triumvirato
Fri Dec 11, 2009 7:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con TRichEdit
Replies: 13
Views: 5289

Problemas con TRichEdit

... from start: 0 hours 0 mins 12 secs Error occurred at: 10/12/2009, 12:35:28 Error description: Error BASE/1004 Class: 'NIL' has no exported method: NOLDPROC Args: [ 1] = U Stack Calls =========== Called from: => NOLDPROC(0) Called from: => TRICHEDIT:DESTROY(0) Called from: => TWINDOW:HANDLEEVENT(0) ...
by triumvirato
Thu Dec 10, 2009 11:43 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con TRichEdit
Replies: 13
Views: 5289

Richard,

Its not that simple as we are calling the standard Windows Button paint procedure and if we override it, then we will not get the standard button painting :-(

CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 )

Maybe we find a way
by Antonio Linares
Thu Oct 18, 2007 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP text on 2 lines
Replies: 8
Views: 1569

Prueba a comentar la llamada a CallWindowProc:

// CallWindowProc( ::nOldProc, ::hWnd, WM_ERASEBKGND, ::hDC, 0 )
by Antonio Linares
Tue Sep 04, 2007 7:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Gpf en toolbar
Replies: 3
Views: 777

Gpf en toolbar

... gpf . alguna idea ? if ::oBrush != nil FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) else Aqui se proudce el gpf CallWindowProc( ::nOldProc, ::hWnd, WM_ERASEBKGND, ::hDC, 0 ) endif un saludo y gracias
by Frafive
Mon Sep 03, 2007 7:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Gpf en toolbar
Replies: 3
Views: 777

... de TGet.prg, y de momento no he tenido problemas y hace lo que deseo. El método al final queda: .../... case nMsg == WM_PASTE CallWindowProc( ::nOldProc, ::hWnd, WM_PASTE, 0, 0 ) ::oGet:buffer = Pad( GetWindowText( ::hWnd ), Len( ::oGet:buffer ) ) DEFINE CLIPBOARD oClp OF Self FORMAT TEXT ::oGet:Pos ...
by FiveWiDi
Mon Apr 16, 2007 5:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Métodos Cut y Paste de TGet y ::bpostkey.
Replies: 3
Views: 1033
Next

Return to advanced search