Problem with DwmExtendFrameIntoClientArea

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi!
Im trying to use <font size=2>DwmExtendFrameIntoClientArea in a Win32 application and here is the code:</font> <font size=2><font size=2>
MARGINS margins = {20,20,20,20};
DwmExtendFrameIntoClientArea(hWnd,&margins);
 
But when I compile I get:
Error 1 error LNK2019: unresolved external symbol <a title="mailto:__imp__DwmExtendFrameIntoClientArea@8 mailto:__imp__DwmExtendFrameIntoClientArea@8 __imp__DwmExtendFrameIntoClientArea@8 referenced in function "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (<a title="mailto:?InitInstance@@YAHPAUHINSTANCE__@@H@Z mailto:?InitInstance@@YAHPAUHINSTANCE__@@H@Z ?InitInstance@@YAHPAUHINSTANCE__@@H@Z ) glass.obj 
What can I do to fix?
</font></font><font size=2></font>

View the full article
 
Back
Top