Deleting a WinFBX control

Windows specific questions.
deltarho[1859]
Posts: 2698
Joined: Jan 02, 2017 0:34
Location: UK

Deleting a WinFBX control

Postby deltarho[1859] » Sep 18, 2019 8:22

@JosepRoca

Hi José

I am unable to find a method to delete a control in WinFBX Framework Help, I am sure that one exists.

I have tried pWindow.DeleteControl, pWindow.KillControl and pWindow.RemoveControl.

Thanks.
Josep Roca
Posts: 501
Joined: Sep 27, 2016 18:20
Location: Valencia, Spain

Re: Deleting a WinFBX control

Postby Josep Roca » Sep 18, 2019 8:55

You can use DestroyWindow(<handle of the control>). DestroyWindow is a Windows API function.
deltarho[1859]
Posts: 2698
Joined: Jan 02, 2017 0:34
Location: UK

Re: Deleting a WinFBX control

Postby deltarho[1859] » Sep 18, 2019 9:20

Gotcha.

DestroyWindow( pWindow.ControlHandle( <Control ID> ) ) where pWindow is from 'Dim pWindow As CWindow'

Thank you. Image

Return to “Windows”

Who is online

Users browsing this forum: No registered users and 3 guests