The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Topic started by: morph on October 14, 2009, 11:05:43 PM

Title: [Masmed]Windows XP/Vista Form Design
Post by: morph on October 14, 2009, 11:05:43 PM
Hello,
i have just installed masmed and created a form ect. Now i was wondering, whether i could make the Style of the form like Windows Xp or Vista. I have included the xp style manifest, just like in c++, but the buttons still look kinda weird. By the way, i have windows 7 running.
If anyone knows a solution, i would be greatful.

/morph
Title: Re: [Masmed]Windows XP/Vista Form Design
Post by: KetilO on October 16, 2009, 09:51:06 AM
Hi morph

I have no idea about Windows 7
You probably need to change the xml content.

KetilO
Title: Re: [Masmed]Windows XP/Vista Form Design
Post by: morph on October 16, 2009, 11:03:31 PM
Well, is there anything else to do besides creating a new resource file and adding the xp manifest to it?
Title: Re: [Masmed]Windows XP/Vista Form Design
Post by: BogdanOntanu on October 17, 2009, 09:29:43 AM
You can also keep the manifest file outside of the application and name it my_app_name.exe.manifest.

Depending on your application you might have to call InitCommonControls as noted here: http://support.microsoft.com/?id=309366

Other than that it should work.
Title: Re: [Masmed]Windows XP/Vista Form Design
Post by: morph on October 17, 2009, 02:36:21 PM
Finally it worked, big thanks to you guys. I think it was the missing InitCommonControls. Thanks.