• Welcome to PlanetSquires Forums.
 

Help viewer WinFBX Library

Started by jermy, April 12, 2021, 06:17:52 PM

Previous topic - Next topic

jermy

There is a small mistake in the help text.

WNDPROC ?

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


I think it must be

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


thanks for sharing the framework

José Roca

Yes. I changed the code but forgot to update the documentation. Thanks for pointig it.