![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
In Dev-C++ all you need to do is to include <windows.h> header, link with libcomctrl32.a and call InitCommonControls().
|
|
|
|
|
|
#12 |
|
Expert Programmer
|
i included that dll file, but when i attempt to call that function it bombs.
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#13 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Is that still needed in 1.1 and 2.0?
static void Main() {
Application.EnableVisualStyles();
Application.Run(new Form1());
}The flatstyle on each control also needs to be set to FlatStyle.System http://msdn.microsoft.com/msdnmag/is...efault.aspx#S3
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#14 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Worked fine for me in Visual C# 2003 without even calling that function.
|
|
|
|
|
|
#15 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
With or without a manifest?
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#16 | |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
Quote:
|
|
|
|
|
|
|
#17 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Dameon, that's what I meant - a manifest file seems to work fine for me with all apps, actually, without calling some weird functions.
|
|
|
|
|
|
#18 |
|
Expert Programmer
|
im not really looking for the 'flat button' style. how would i go about useing XP style buttons? (with a manifest)
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#19 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
You need to set the "FlatButton" property to System. Just do it. :p
|
|
|
|
|
|
#20 |
|
Expert Programmer
|
awww, my computer at work magically caught a virus over the weekend so that formatted my comp. Grrr, I have no VS .NET CD's and it could be days before i can get someone to bring them back in for me to use. Everyone feel my pain
![]()
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|