Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compiler Errors! AHHHH! Pin
Joaquín M López Muñoz20-Nov-01 7:28
Joaquín M López Muñoz20-Nov-01 7:28 
GeneralRe: Compiler Errors! AHHHH! Pin
Alvaro Mendez20-Nov-01 7:49
Alvaro Mendez20-Nov-01 7:49 
GeneralRe: Compiler Errors! AHHHH! Pin
James Bird20-Nov-01 10:00
James Bird20-Nov-01 10:00 
GeneralRe: Compiler Errors! AHHHH! Pin
Alvaro Mendez20-Nov-01 12:17
Alvaro Mendez20-Nov-01 12:17 
Generaluse a timer to interrupt a background thread - help pleaseee:) Pin
20-Nov-01 3:08
suss20-Nov-01 3:08 
GeneralRe: use a timer to interrupt a background thread - help pleaseee:) Pin
Joaquín M López Muñoz20-Nov-01 5:54
Joaquín M López Muñoz20-Nov-01 5:54 
GeneralRe: use a timer to interrupt a background thread - help pleaseee:) Pin
Nemanja Trifunovic20-Nov-01 7:08
Nemanja Trifunovic20-Nov-01 7:08 
QuestionHow to make the border and titlebar dissapear Pin
Christoffer Sandberg20-Nov-01 2:35
Christoffer Sandberg20-Nov-01 2:35 
I got a request to make a program that seamlessly writes out some generic info on the background on a Windows 2000 (or higher) machine. (info is such as quote of the hour, fre RAM, incoming mails, current song in Winamp, whaterver info that can be summarized in short strings, you get the idea)

Well, such a program needs a few properties: Transparancy, Not able to be activated, not show up in the taskbar. More ofcourse, but for now these are the important ones.

Trancaparency is easely fixed, just a layered window WS_EX_LAYERED with a call to the SetLayeredWindowAttributes function and selecting a COLORREF color to be treated as transparent.

Also giving it the WS_EX_NOACTIVATE style unables the windows to be in the foreground. And making it not able to show up in the taskbar, well, a toolbar have that property, so giving it the
WS_EX_TOOLWINDOW style solves that problem.

Now the part that I cannot solve remains, how to make the border, and most importantly, the titlebar to dissapear? (no x-shutdown icon isn't a problem, just use the commandline and send a shutdown mesage or something)

But for it to fit nicely onto the desktop background I need to remove the titlebar and border. Anyone who knows ?

// Christoffer Sandberg , christoffer_sandberg@hotmail
AnswerRe: How to make the border and titlebar dissapear Pin
Rui Lopes20-Nov-01 7:32
Rui Lopes20-Nov-01 7:32 
GeneralRe: How to make the border and titlebar dissapear Pin
Christoffer Sandberg20-Nov-01 13:36
Christoffer Sandberg20-Nov-01 13:36 
GeneralRe: How to make the border and titlebar dissapear Pin
Rui Lopes20-Nov-01 23:01
Rui Lopes20-Nov-01 23:01 
QuestionPassing Window Handles? Pin
20-Nov-01 2:07
suss20-Nov-01 2:07 
AnswerRe: Passing Window Handles? Pin
Fazlul Kabir20-Nov-01 2:40
Fazlul Kabir20-Nov-01 2:40 
AnswerRe: Passing Window Handles? Pin
luckylourson20-Nov-01 2:54
luckylourson20-Nov-01 2:54 
AnswerRe: Pass the handle in the constructor. Pin
Masaaki Onishi20-Nov-01 4:12
Masaaki Onishi20-Nov-01 4:12 
Generalabout Linux Pin
Maer72720-Nov-01 1:41
Maer72720-Nov-01 1:41 
GeneralRe: about Linux Pin
Rassman20-Nov-01 2:00
Rassman20-Nov-01 2:00 
GeneralRe: about Linux Pin
markkuk20-Nov-01 2:47
markkuk20-Nov-01 2:47 
GeneralRe: about Linux Pin
Michael P Butler20-Nov-01 2:54
Michael P Butler20-Nov-01 2:54 
GeneralRe: about Linux Pin
Rassman20-Nov-01 3:29
Rassman20-Nov-01 3:29 
GeneralRe: about Linux Pin
Jason Hihn20-Nov-01 5:30
Jason Hihn20-Nov-01 5:30 
GeneralRe: about Linux Pin
markkuk20-Nov-01 2:44
markkuk20-Nov-01 2:44 
GeneralRe: about Linux Pin
Jason Hihn20-Nov-01 5:50
Jason Hihn20-Nov-01 5:50 
GeneralRe: about Linux Pin
Maer72720-Nov-01 19:59
Maer72720-Nov-01 19:59 
QuestionHow to register a control Pin
20-Nov-01 1:34
suss20-Nov-01 1:34 

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.