Right under that is my tab control, with only 3 tabs:
/*hwndTab = CreateWindowEx(0, WC_TABCONTROL, "",
WS_CHILD | WS_CLIPSIBLINGS | TCS_RIGHTJUSTIFY | TCS_MULTILINE | WS_VISIBLE,
3, 0, 358, 390, mainWindow, (HMENU) 10, ((LPCREATESTRUCT) lParam)->hInstance, NULL); */
I had the TabControl added to my program before the Menu. And that made me find out that when i add a menu to my app it changes the possible Y coordinates of my program in a way that the y=0 is right below the menu, exactly where it ends.
If I set my TabControl to a Y position of '-3' for example, if partially disappears under the menu.
Now what do I want to do? Oh well, I want to make my tabs align at right and then make them appear at the same Y position as the menu, above it, to gain some space.
So i Would have "File", "Edit" and the 3 tabs, all at the same Y position, you know what i mean?
Off course ive tried setting my tabcontrol to a negative Y position, but it shows UNDER the menucontrol, not above.
I also could not find a way to align the TABS at right.
Hope you can help me, thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That probably is ann odd question, hope you get what i want to do here, let me explain:
My app has a menu (only 2 options, "File" and "Edit") right below the TitleBar, left aligned, like almost all win apps ive ever seen.
/*wincl.lpszMenuName = MAKEINTRESOURCE(IDM_APPMENU);*/
Right under that is my tab control, with only 3 tabs:
/*hwndTab = CreateWindowEx(0, WC_TABCONTROL, "",
WS_CHILD | WS_CLIPSIBLINGS | TCS_RIGHTJUSTIFY | TCS_MULTILINE | WS_VISIBLE,
3, 0, 358, 390, mainWindow, (HMENU) 10, ((LPCREATESTRUCT) lParam)->hInstance, NULL); */
I had the TabControl added to my program before the Menu. And that made me find out that when i add a menu to my app it changes the possible Y coordinates of my program in a way that the y=0 is right below the menu, exactly where it ends.
If I set my TabControl to a Y position of '-3' for example, if partially disappears under the menu.
Now what do I want to do? Oh well, I want to make my tabs align at right and then make them appear at the same Y position as the menu, above it, to gain some space.
So i Would have "File", "Edit" and the 3 tabs, all at the same Y position, you know what i mean?
Off course ive tried setting my tabcontrol to a negative Y position, but it shows UNDER the menucontrol, not above.
I also could not find a way to align the TABS at right.
Hope you can help me, thanks!