PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help viewer WinFBX Library  (Read 100 times)

jermy

  • Junior Member
  • **
  • Posts: 95
Help viewer WinFBX Library
« on: April 12, 2021, 06:17:52 PM »

There is a small mistake in the help text.

WNDPROC ?
Code: [Select]
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
Code: [Select]
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
Logged

Josť Roca

  • Moderator
  • Guru Member
  • *****
  • Posts: 3326
Re: Help viewer WinFBX Library
« Reply #1 on: April 12, 2021, 06:52:20 PM »

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