WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
Pages (9) [1] 2 3 4 5 6 7 8 9   ( Go to first unread post )

Dialog Control Visual Theme, how I can set the visual themes of the dialog controls to look like the XP style?

Virus
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 1207
Joined: 25-April 05


Sponsored Links
Hello!

I am relatively new to WinAsm Studio and I just wanted to ask how I can set the visual themes of the dialog controls to look like the XP style. Currently, when I assemble a *.wap* with a *.rc* in the project that produces a dialog box, the controls look like the Windows 95 or 98 controls, even though I use the Windows XP visual theme.

Any help is appreciated! smile.gif

Attached Image
Attached Image
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2308
Member No.: 1
Joined: 12-May 04


Hi,

Extract the attached file anywhere you like (probably in your project's folder) and then Resources tab-Others-Resources-Add and select the XML file you extrtacted above. Go all and your executable should use the XP themes.

Please let me know if it helps,

Antonis

Attached File ( Number of downloads: 361 )
 Login or Register to download
PMEmail PosterUsers Website
Top
Virus
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 1207
Joined: 25-April 05


It works now!

Thanks! smile.gif
PMEmail Poster
Top
Phoenix
Quote Post


Active Member
***

Group: Members
Posts: 43
Member No.: 852
Joined: 12-December 04


hi akyprian,

this is exactly what is was searching for.. but however, in my case, only the listbox control is shown using XP-Style, the other controls are not affected... do you or somebody else know a reason for this?

BTW, i am using InitCommonControls. In WinASM Visual Mode, the controls are shown correctly.

Thanks in advance,

Phoenix

Attached Image
Attached Image
PMEmail Poster
Top
QvasiModo
Quote Post


Just your regular village idiot
******

Group: Moderators
Posts: 462
Member No.: 7
Joined: 13-May 04


Are you doing some custom painting? In that case the XP look will be disabled, unless you use some specific APIs to do it.

http://msdn.microsoft.com/library/default....ex/cookbook.asp
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (9) [1] 2 3 4 5 6 7 8 9  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian