Search found 24 matches: callwindowproc

Searched query: callwindowproc

by Antonio Linares
Tue Oct 29, 2024 7:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Tgroup color border
Replies: 1
Views: 386

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 Mart.
Wed May 13, 2020 9:06 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Unrecoverable error 6005: Exception error
Replies: 5
Views: 744

Unrecoverable error 6005: Exception error

... 670) in FueAje\Five\Dialog.prg
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(1516) in FueAje\Five\Dialog.prg
Called from CALLWINDOWPROC(0)
Called from TMULTIGET:GOTFOCUS(849) in FueAje\Five\mget.prg
Called from TWINDOW:HANDLEEVENT(0)
Called from TMULTIGET:HANDLEEVENT(1427) in ...
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: 1816

Re: Paste values into Password Protected Get Objects

... CLASS 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 ...
by ricardog
Thu Aug 31, 2017 2:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 9238

Re: Ayuda DLL

... Error: Unresolved external '_HB_FUN_TBGETRECT' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|TOOLBAR
Error: Unresolved external '_HB_FUN_CALLWINDOWPROC' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|TOOLBAR
Error: Unresolved external '_HB_FUN_LOADSTRING' referenced from P:\32BITS\FWH\LIB\FIVEHX ...
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: 896

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 ...
by Antonio Linares
Mon Dec 19, 2011 5:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Need copy of the following functions if any body has them.
Replies: 9
Views: 3852

Re: Need copy of the following functions if any body has them.

Harvey,

Also change this line:

return CallWindowProc( ( FARPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );

with:

return CallWindowProc( ( WNDPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );
by Antonio Linares
Mon Dec 19, 2011 9:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: Need copy of the following functions if any body has them.
Replies: 9
Views: 3852

Re: Need copy of the following functions if any body has them.

Harvey,

Please replace this line:

LONG lResult = CallWindowProc( ( FARPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );

with:

LONG lResult = CallWindowProc( ( WNDPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );
by carlos vargas
Sun May 08, 2011 9:10 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar con bcc63 FARPROC (solucionado)
Replies: 2
Views: 616

Error al compilar con bcc63 FARPROC (solucionado)

esta es la linea ofendida

LONG lResult = CallWindowProc( (FARPROC) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );


este es el mensaje de error que interrunpe la compilacion

Error E2342 source\\fixsays.prg 18: Type mismatch in parameter 'lpPrevWndFunc' (wanted 'long (__stdcall *)(HWND ...
by fraxzi
Sun Jun 06, 2010 1:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog controls are flickering when resized..
Replies: 34
Views: 11439

Re: Dialog controls are flickering when resized..

... 40; hDC ) INLINE 1ENDCLASSMETHOD Paint() CLASS TMydialog   local aInfo := ::DispBegin()     CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 )   if ValType( ::bPainted ) == "B"      Eval( ::bPainted ...
by Cgallegoa
Sat Feb 20, 2010 8:13 am
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 6273

Re: Se necesita ayuda en el wiki !

... BeginPaint()
Bin2d()
Bindtoport()
Bitblt()
BringWindowtotop()
Browse()
Btndisable()
BtnPaint()
BuildCommDCB()
C2Hex()
CallDll()
Calldll32()
CallWindowProc()
cArgV()
cChr2Data()
cCtrl2Chr()
cDlg2Chr()
cFileDisc()
cFileExt()
cFileMask()
cFileName()
cFileNoExt()
cFileNoPath()
cFilePath()
cFileSubDir ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 9554

Re: FWH/xHarbour Menus

... uMsg == WM_ERASEBKGND )
{
return 1;
}

else if( uMsg == 0x0128 ) // SAYs were erased when pressing ALT WM_UPDATEUISTATE
{
LONG lResult = CallWindowProc( ( FARPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );
InvalidateRect( hWnd, NULL, TRUE );
return lResult;
}

else if ...
by Antonio Linares
Thu Oct 18, 2007 9:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP text on 2 lines
Replies: 8
Views: 1675

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
Tue Sep 04, 2007 7:51 am
Forum: FiveWin para Harbour/xHarbour
Topic: Gpf en toolbar
Replies: 3
Views: 816

Prueba a comentar la llamada a CallWindowProc:

// CallWindowProc( ::nOldProc, ::hWnd, WM_ERASEBKGND, ::hDC, 0 )
by Frafive
Mon Sep 03, 2007 7:41 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Gpf en toolbar
Replies: 3
Views: 816

Gpf en toolbar

... 1633/gpfqf2.th.jpg]


En esta linea del metodo paint es donde me da el 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 jacgsoft
Mon Jun 18, 2007 5:05 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio - Problema con las fechas Fwh 7.05
Replies: 10
Views: 1978

Para Antonio - Problema con las fechas Fwh 7.05

... Called From: => TCONTROL:HANDLEEVENT(0)
Called From: => TGET:HANDLEEVENT(0)
Called From: .\source\classes\WINDOW.PRG => _FW
Called From: => CALLWINDOWPROC(0)
Called From: => TGET:LBUTTONDOWN(0)
Called From: => TWINDOW:HANDLEEVENT(0)
Called From: => TCONTROL:HANDLEEVENT(0)
Called From: => TGET ...