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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -