Click here to Skip to main content
15,923,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Protect executables and prevent end process Pin
22491710-Nov-08 14:10
22491710-Nov-08 14:10 
QuestionUpdate the background of dialog box.. Pin
gothic_coder10-Nov-08 0:17
gothic_coder10-Nov-08 0:17 
AnswerRe: Update the background of dialog box.. Pin
gothic_coder10-Nov-08 0:18
gothic_coder10-Nov-08 0:18 
GeneralRe: Update the background of dialog box.. Pin
enhzflep10-Nov-08 1:34
enhzflep10-Nov-08 1:34 
GeneralRe: Update the background of dialog box.. Pin
gothic_coder10-Nov-08 2:13
gothic_coder10-Nov-08 2:13 
GeneralRe: Update the background of dialog box.. Pin
enhzflep10-Nov-08 2:24
enhzflep10-Nov-08 2:24 
GeneralRe: Update the background of dialog box.. Pin
gothic_coder10-Nov-08 4:02
gothic_coder10-Nov-08 4:02 
GeneralRe: Update the background of dialog box.. Pin
enhzflep10-Nov-08 14:18
enhzflep10-Nov-08 14:18 
It really is a pleasure my friend.

I did some work a while ago using transparent bitmaps. It was inspired by Hans Dietrich's XCPClock prject. Two points I should point out about my implementation:

1) It doesn't use MFC
2) The reflection on the dial is shown on top of the hands - a transparent bitmap.

Unfortunately, there are a few dimensions and offsets that are hard-coded though it should hopefully still guide you in your endevours.
You can find the project here. Transparent Bitmaps demo[^]

As for PNGs, there's a number of libraries out there that will deal with them. Never used any of them myself, though it shouldn't be too hard. You can look for libpng.

Also, you might like to check out the source code for "Slide Show Screen Saver for Windows" as found here[^]
The complete source is available there. Haven't had much of a look yet, though I do recall getting this code some years ago for the purpose of dealing with pngs and jpgs.
GeneralRe: Update the background of dialog box.. Pin
gothic_coder10-Nov-08 23:09
gothic_coder10-Nov-08 23:09 
QuestionXML Skinnable Dialogs or Vista or XP style dialogs Pin
Sreekanth Muralidharan9-Nov-08 23:26
Sreekanth Muralidharan9-Nov-08 23:26 
AnswerRe: XML Skinnable Dialogs or Vista or XP style dialogs Pin
Ahmed Charfeddine9-Nov-08 23:49
Ahmed Charfeddine9-Nov-08 23:49 
Questionreading astring value unto a DWORD [SOLVED] Pin
Ahmed Charfeddine9-Nov-08 23:11
Ahmed Charfeddine9-Nov-08 23:11 
AnswerRe: reading astring value unto a DWORD Pin
chandu0049-Nov-08 23:14
chandu0049-Nov-08 23:14 
GeneralRe: reading astring value unto a DWORD Pin
Ahmed Charfeddine9-Nov-08 23:44
Ahmed Charfeddine9-Nov-08 23:44 
Questionhow to store a value at the specified location in RAM. Pin
chandu0049-Nov-08 23:06
chandu0049-Nov-08 23:06 
AnswerRe: how to store a value at the specified location in RAM. Pin
CPallini9-Nov-08 23:24
mveCPallini9-Nov-08 23:24 
GeneralRe: how to store a value at the specified location in RAM. Pin
chandu0049-Nov-08 23:38
chandu0049-Nov-08 23:38 
QuestionRe: how to store a value at the specified location in RAM. Pin
CPallini9-Nov-08 23:56
mveCPallini9-Nov-08 23:56 
AnswerRe: how to store a value at the specified location in RAM. Pin
chandu00410-Nov-08 0:20
chandu00410-Nov-08 0:20 
AnswerRe: how to store a value at the specified location in RAM. Pin
Iain Clarke, Warrior Programmer9-Nov-08 23:52
Iain Clarke, Warrior Programmer9-Nov-08 23:52 
GeneralRe: how to store a value at the specified location in RAM. Pin
chandu00410-Nov-08 2:32
chandu00410-Nov-08 2:32 
QuestionRe: how to store a value at the specified location in RAM. Pin
David Crow10-Nov-08 3:15
David Crow10-Nov-08 3:15 
AnswerRe: how to store a value at the specified location in RAM. Pin
Nemanja Trifunovic10-Nov-08 7:52
Nemanja Trifunovic10-Nov-08 7:52 
AnswerRe: how to store a value at the specified location in RAM. Pin
Roger Stoltz10-Nov-08 4:50
Roger Stoltz10-Nov-08 4:50 
AnswerRe: how to store a value at the specified location in RAM. Pin
Nemanja Trifunovic10-Nov-08 7:48
Nemanja Trifunovic10-Nov-08 7:48 

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.