PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: jermy on April 12, 2021, 06:47:52 PM

Title: Help viewer WinFBX Library
Post by: jermy on April 12, 2021, 06:47:52 PM
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
Title: Re: Help viewer WinFBX Library
Post by: José Roca on April 12, 2021, 07:22:20 PM
Yes. I changed the code but forgot to update the documentation. Thanks for pointig it.