Mar 6, 2014 at 11:48am UTC
That would depend on what library you're using to create your GUI. wxWidgets? Qt? Native Windows stuff?
Check the documentation for the window class of whatever you're using.
Mar 6, 2014 at 11:48am UTC
Using either Some sort of graphic library or WinAPI calls before you show your window
Mar 6, 2014 at 12:22pm UTC
I want to do it all with winapi
Mar 6, 2014 at 12:25pm UTC
I would imagine Google would find you an answer in seconds.
Mar 6, 2014 at 1:30pm UTC
Try combining the WS_POPUPWINDOW and WS_THICKFRAME styles. This is how I create such a window with CreateWindowEX:
1 2 3 4 5 6 7 8 9 10 11 12 13
_window = CreateWindowEx(
0,
ClassName,
WindowName,
(WS_POPUPWINDOW | WS_THICKFRAME | WS_VISIBLE | WS_CLIPCHILDREN),
CW_USEDEFAULT,
CW_USEDEFAULT,
500,
500,
NULL,
NULL,
wc.hInstance,
this );
Last edited on Mar 6, 2014 at 1:31pm UTC
Mar 7, 2014 at 12:53pm UTC
Not sure exactly, but no doubt it is some clever use of common controls like buttons, static, and syslink.
You can try Spy++ to see what controls and window styles are used.
Last edited on Mar 7, 2014 at 1:18pm UTC
Mar 13, 2014 at 8:35am UTC
i have tried Spy++ but cant seem to find much.
im not sure if that bottom part is a image or if there is a simple way to do it?
theres not much out there in this i have been searching for awhile
Does anyone have ideas?
Mar 13, 2014 at 9:25am UTC
Perhaps you'd be better off asking on a forum more specifically focused on Windows programming?
Mar 21, 2014 at 6:15am UTC
thanks for that
seems to be what im looking for just need to work it all out
quick question i been looking at some examples of
owner drawn buttons an custom buttons
what is difrent between them they both look the same?
hard to find Native winapi examples on this
anyone have any examples of what im trying to do?
im sure people have done it before