winapi - In win32 C++ programming how can I duplicate a window style? -
let's i've hwnd
of window in win32 c++ programming. how can create window same styles programmatically? know i'll have use createwindowex
how find parameters of existing window pass createwindowex
?
getwindowinfo should retrieve need original window. returns windowinfo structure following:
typedef struct tagwindowinfo { dword cbsize; rect rcwindow; rect rcclient; dword dwstyle; dword dwexstyle; dword dwwindowstatus; uint cxwindowborders; uint cywindowborders; atom atomwindowtype; word wcreatorversion; } windowinfo, *pwindowinfo, *lpwindowinfo;
Comments
Post a Comment