Horizontal+Vertical Toolbar Win32 API

Hey All!

I have been searching around for a fix to the toolbar issue i have. I have created two of them, one horizontal and one vertical but they overlap at the top. I tried using SetWindowPos with the SWP_NOSIZE flag but it adds a seperator or something and it's kinda buggy.

Does anyone know how to fix this?.

Pic1: first button from the horizontal toolbar
- http://i.imgur.com/mfXRFSV.jpg
Pic2: button overlap from the vertical toolbar
- http://i.imgur.com/NuAYHze.jpg
Pic3: using SetWindowPos (seperator bugg thing)
- http://i.imgur.com/zthf269.jpg

SOLUTION: i think this is a hack but when i added CCS_NODIVIDER to the CreateWindowEx function the seperator thing disappeared.
Last edited on
Topic archived. No new replies allowed.