Search found 61 matches

by PyroStrex
Sat May 02, 2015 4:55 pm
Forum: Coding Questions
Topic: DLL plug-in inheriting ugly no-themed flat, squared GUI
Replies: 17
Views: 2962

Re: DLL plug-in inheriting ugly no-themed flat, squared GUI

With the example you had given, I can simply inject 24:1:1033 resource to the main application to enable the xp style. But based on what you asked for, since the application are digitally signed and can't be injected with anything, your way of doing it might be the only way to make it works (SetWind...
by PyroStrex
Mon Apr 20, 2015 2:13 pm
Forum: Coding Questions
Topic: DLL plug-in inheriting ugly no-themed flat, squared GUI
Replies: 17
Views: 2962

Re: DLL plug-in inheriting ugly no-themed flat, squared GUI

Well if it is still a no go, then the only way to help you now is by knowing that target application. If you can't tell us the exact target application, at least find another application that have the same issue and let us try to find a way to help you :).
by PyroStrex
Mon Apr 20, 2015 5:12 am
Forum: Tricks 'n' Tips
Topic: Apply Visual Styles on DLL Forms
Replies: 2
Views: 2000

Apply Visual Styles on DLL Forms

It's been a while since I used PureBasic, suddenly I have the need to use it again. Directly I encountered this problem and having trouble to find the solution. I know the solution was from a very old post in this forum. So I thought, why not I put the solution in this section. Better to name it cor...
by PyroStrex
Mon Apr 20, 2015 4:30 am
Forum: Coding Questions
Topic: DLL plug-in inheriting ugly no-themed flat, squared GUI
Replies: 17
Views: 2962

Re: DLL plug-in inheriting ugly no-themed flat, squared GUI

I am not sure if you are still trying to figure out this. But after like days of searching for the answer, this post here answered my question. http://www.purebasic.fr/english/viewtopic.php?p=102716#p102716 The weird thing was, I did saw that post and read it like 3 times then I went to msdn to get ...
by PyroStrex
Tue Apr 12, 2011 6:10 am
Forum: Announcement
Topic: PureBasic 4.60 Beta 2
Replies: 21
Views: 11161

Re: PureBasic 4.60 Beta 2

How about the form designer? any news?
by PyroStrex
Sat Dec 11, 2010 11:45 am
Forum: Coding Questions
Topic: Detect Windows Style
Replies: 4
Views: 855

Re: Detect Windows Style

Wow.. Thanks for this. I tried it with both style. It changed :D
by PyroStrex
Sat Dec 11, 2010 12:53 am
Forum: Coding Questions
Topic: Detect Windows Style
Replies: 4
Views: 855

Detect Windows Style

Is there a way i can do this? like If in windows 7, I wanna detect if the users is currently using aero style or the old windows 95 style.
by PyroStrex
Mon Oct 04, 2010 11:14 pm
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

Lol.. I know Panel is the container. Anyway.. I guess there's no better way to do this to make it support to more than one windows operating system (at least for me :P). I think I should stop using PanelGadget and find another way to create a config page for my application :P. I can try to find a wa...
by PyroStrex
Mon Oct 04, 2010 4:30 pm
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

Did you mean about the tab is not filled with white background but instead was filled with the backcolor of the window? If yes, then I also noticed the same thing. So, do you have any workaround for this case?
by PyroStrex
Mon Oct 04, 2010 3:31 pm
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

Here is the latest code which reduce the flicker and thanks to you Justin, no more flicker to the controls inside the PanelGadget. But, one last thing, The Tab doesn't flick when the tab was changed (The control is). But when resized, the tab is flicking again. Any way to prevent it? Enumeration #St...
by PyroStrex
Mon Oct 04, 2010 7:22 am
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

I don't know.. I don't have any flickers when I didn't use PanelGadget. But here is my source code for the demonstration. Enumeration #Str1 #Str2 #Panel1 #Str3 #Str4 EndEnumeration If OpenWindow(0, 0, 0, 200, 200, "Flicker Free Test", #PB_Window_SizeGadget | #PB_Window_SystemMenu | #PB_Win...
by PyroStrex
Sun Oct 03, 2010 11:01 pm
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

I've tried it but what i get is the heaviest flicker of all.
by PyroStrex
Sun Oct 03, 2010 2:47 am
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

Can you give me an example to do that for panelgadget's child? I can't seem to get it work. If you mean I will not be getting flickers with vista and above.. I'm using Windows 7 Professional and still, I see a huge flicker.
by PyroStrex
Sat Oct 02, 2010 2:09 am
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Re: Double Buffering using uxtheme.lib?

Hmm.. I will see If i can make ur tips work. Actually I just wanna free all flickers in my application. I have a problem while trying to free flickers for Tab Control or PanelGadget. It is when i was changing the tab and not resize. The flicker is not on the tab (since i already found a way to free ...
by PyroStrex
Sat Oct 02, 2010 12:56 am
Forum: Coding Questions
Topic: Double Buffering using uxtheme.lib?
Replies: 18
Views: 2483

Double Buffering using uxtheme.lib?

like stated here:

http://www.codeguru.com/cpp/w-p/vista/a ... hp/c15709/

1. How can I do the same thing in PureBasic?.
2. Even if i can, is there any difference to the flicker?
3. Do I need to install Windows 7 SDK for this? (I'm using windows 7)