Support Forums > WinFBX - Windows Framework for FreeBASIC

Help viewer WinFBX Library

(1/1)

jermy:
There is a small mistake in the help text.

WNDPROC ?

--- Code: ---pWindow.AddControl("Button", pWindow.hWindow, IDC_BUTTON, "Click me", 350, 250, 75, 23, , , , _
   CAST(WNDPROC, @Button_SubclassProc), IDC_BUTTON, CAST(DWORD_PTR, @pWindow))

--- End code ---

I think it must be

--- Code: ---pWindow.AddControl("Button", pWindow.hWindow, IDC_BUTTON, "Click me", 350, 250, 75, 23, , , , _
   CAST(SUBCLASSPROC, @Button_SubclassProc), IDC_BUTTON, CAST(DWORD_PTR, @pWindow))

--- End code ---

thanks for sharing the framework

Josť Roca:
Yes. I changed the code but forgot to update the documentation. Thanks for pointig it.

Navigation

[0] Message Index

Go to full version