Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGet system properies at runtime Pin
Member 16603853-Feb-05 1:13
Member 16603853-Feb-05 1:13 
GeneralRe: Get system properies at runtime Pin
David Crow3-Feb-05 2:54
David Crow3-Feb-05 2:54 
Generalabt keyboard Pin
Anonymous3-Feb-05 1:13
Anonymous3-Feb-05 1:13 
GeneralRe: abt keyboard Pin
Mike Dimmick3-Feb-05 2:43
Mike Dimmick3-Feb-05 2:43 
QuestionChanging Source IP ? Pin
Adnan5623-Feb-05 0:56
Adnan5623-Feb-05 0:56 
AnswerRe: Changing Source IP ? Pin
Antony M Kancidrowski3-Feb-05 1:13
Antony M Kancidrowski3-Feb-05 1:13 
GeneralApply different themes to single application Pin
ledallam2-Feb-05 23:39
ledallam2-Feb-05 23:39 
GeneralRe: Apply different themes to single application Pin
Antti Keskinen3-Feb-05 4:04
Antti Keskinen3-Feb-05 4:04 
Hi !

You should consider keeping a data value in registry that tells which 'theme' the user has selected. Then in the application, load this value and paint your windows and controls accordingly. It's called 'skinning an application' and is a very popular theme around the Net.

The UXTHEME.DLL is a library related to Windows Themes (how Windows windows, buttons etc look like). You should never change this DLL, although you can load it to make your application have the 'Windows XP' look and feel.

An alternative is to look for fore-skinned control packages, such as Dundas Ultimate Toolbox or Codejock's Xtreme Toolkit. These both contain hundreds of components in building custom-looking UIs. Both of these toolkits currently focus on providing Office 2003 look and feel.

One option is to just use Paint and draw your UI. Then use window region clipping and painting to push this 'drawing' as your main window. This is how the popular media player Winamp is constructed, for example. All the sections of the window are loaded from a bitmap or graphics file that can be custom generated. Creating a new UI is as easy as drawing a new graphic and making it follow an already working graphic file's layout.

-Antti Keskinen

----------------------------------------------
"If we wrote a report stating we saw a jet fighter with a howitzer, who's going to believe us ?"

-- R.A.F. pilot quote on seeing a Me 262 armed with a 50mm Mauser cannon.
GeneralNon blocking MFC Dll Pin
lmfernandez2-Feb-05 23:38
lmfernandez2-Feb-05 23:38 
GeneralRe: Non blocking MFC Dll Pin
Antony M Kancidrowski3-Feb-05 1:07
Antony M Kancidrowski3-Feb-05 1:07 
GeneralRe: Non blocking MFC Dll Pin
lmfernandez3-Feb-05 2:55
lmfernandez3-Feb-05 2:55 
GeneralRe: Non blocking MFC Dll Pin
Antony M Kancidrowski4-Feb-05 12:05
Antony M Kancidrowski4-Feb-05 12:05 
Generalproblem with Picturebox / windows.h Pin
doneirik2-Feb-05 23:25
doneirik2-Feb-05 23:25 
GeneralRe: problem with Picturebox / windows.h Pin
foobar!23-Feb-05 15:01
foobar!23-Feb-05 15:01 
GeneralRe: problem with Picturebox / windows.h Pin
foobar!23-Feb-05 15:31
foobar!23-Feb-05 15:31 
GeneralRe: problem with Picturebox / windows.h Pin
doneirik23-Feb-05 22:14
doneirik23-Feb-05 22:14 
GeneralRe: problem with Picturebox / windows.h Pin
foobar!24-Feb-05 9:13
foobar!24-Feb-05 9:13 
GeneralLDAP Pin
Anthony_Yio2-Feb-05 22:44
Anthony_Yio2-Feb-05 22:44 
Generalvc++ Pin
Member 34588082-Feb-05 22:35
Member 34588082-Feb-05 22:35 
GeneralRe: vc++ Pin
Anthony_Yio2-Feb-05 23:03
Anthony_Yio2-Feb-05 23:03 
GeneralVisual C++ & SourceSafe Integration Pin
Frankie Deak2-Feb-05 22:25
Frankie Deak2-Feb-05 22:25 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Anthony_Yio2-Feb-05 22:47
Anthony_Yio2-Feb-05 22:47 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Frankie.Deak3-Feb-05 0:28
Frankie.Deak3-Feb-05 0:28 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Anonymous3-Feb-05 2:02
Anonymous3-Feb-05 2:02 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Arjan Schouten3-Feb-05 2:47
Arjan Schouten3-Feb-05 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.