Toolbar redraw

Started by Brian Alvarez, August 02, 2016, 03:01:20 AM

Previous topic - Next topic

Brian Alvarez

 Hello, i have a transparent toolbar and i want it to reflect the color of the dialog behind it, but currently i have to resize the dialog so the toolbar reflect the change.

How can i do it?

FF_Control_Redraw(HWND_DIALOG) doesnt seem to work...

Thanks. :)

Paul Squires

Quote from: Brian Alvarez on August 02, 2016, 03:01:20 AM
Hello, i have a transparent toolbar and i want it to reflect the color of the dialog behind it, but currently i have to resize the dialog so the toolbar reflect the change.

How can i do it?

FF_Control_Redraw(HWND_DIALOG) doesnt seem to work...

Thanks. :)

Instead of passing the handle to the Form, HWND_DIALOG, try passing the handle of the ToolBar. HWND_DIALOG_TOOLBAR1  ?
Paul Squires
PlanetSquires Software

Brian Alvarez


I thought it was automatic, i ended up using this:

Call FF_Control_Redraw(GetDlgItem(HWND_MAINFORM, IDC_MAINFORM_TOOLBAR1))

All i could find was the IDC, the HWND wasnt stated in the list of handles. :)

Thanks Paul. :)