Search found 22 matches: noldproc

Return to advanced search

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: 344

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: 1164

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: 1154

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: 1154

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: 763

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: 6688

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: 9109

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: 9109

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: 4775

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: 4775

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: 1479

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: 728

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: 728

... 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: 900

Re: Color de un oGet

... internal status ::oGet:SetFocus() ::DispText() if ::oGet:type$"DN" ::nPos := 1 endif ::oGet:Pos = ::nPos ::SetPos( ::nPos ) CallWindowProc( ::nOldProc, ::hWnd, WM_SETFOCUS ) if Set( _SET_INSERT ) DestroyCaret() CreateCaret( ::hWnd, 0, 6, ::nGetChrHeight() ) ShowCaret( ::hWnd ) endif else HideCaret( ...
by lubin
Fri Jan 06, 2006 4:50 pm
 
Forum: FiveWin para CA-Clipper
Topic: Color de un oGet
Replies: 2
Views: 1368
Next

Return to advanced search