Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) Pin
Happy_Dog29-Oct-02 8:06
Happy_Dog29-Oct-02 8:06 
GeneralRe: BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) Pin
Ravi Bhavnani29-Oct-02 8:13
professionalRavi Bhavnani29-Oct-02 8:13 
GeneralRe: BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) Pin
Joaquín M López Muñoz29-Oct-02 8:13
Joaquín M López Muñoz29-Oct-02 8:13 
GeneralRe: BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) Pin
Happy_Dog29-Oct-02 10:09
Happy_Dog29-Oct-02 10:09 
QuestionHow do i get the path of my program? Pin
Anonymous29-Oct-02 7:27
Anonymous29-Oct-02 7:27 
AnswerRe: How do i get the path of my program? Pin
Happy_Dog29-Oct-02 7:43
Happy_Dog29-Oct-02 7:43 
QuestionDraw a rubberband? Pin
Anonymous29-Oct-02 6:49
Anonymous29-Oct-02 6:49 
GeneralFocused Based Transparency Question Pin
John Aldrich29-Oct-02 6:34
John Aldrich29-Oct-02 6:34 
I am writing a desktop-based toolbar app ( similar in design to the IE Channel Bar ) written from a App-Wizard Generated C++/MFC Dialog Project that is designed to fade down to 25% opacity when it's not being used. It's intended to do this after processing the WM_KILLFOCUS message via the OnKillFocus() Dialog Member. Additionally, it should fade it's opacity back up to 100% when it recieves the WM_SETFOCUS message via the OnSetFocus() Dialog Member. My problem is that I'm unable to get any sort of transparency to work in this situation, including the articles I've seen here at CP or the MSDN Frown | :-( . I've thought about using AnimateWindow() but to my knowledge that only fades the window out completely or in completely, and on top of that I don't know how to implement it. Frown | :-( If some one could provide me with a code sample that demonstrates how I could apply transparancy in this situation I would be greatly appreciative. Thanks in advance.



It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now...

[Shog9 on Kid Programmers]
GeneralRe: Focused Based Transparency Question Pin
Ravi Bhavnani29-Oct-02 7:21
professionalRavi Bhavnani29-Oct-02 7:21 
QuestionText To Speech SDK 5.0 ? Pin
Member 159223629-Oct-02 6:28
Member 159223629-Oct-02 6:28 
Generalcreating a mapped drive Pin
Tom Wright29-Oct-02 5:59
Tom Wright29-Oct-02 5:59 
GeneralTCP/IP questions Pin
Tom Wright29-Oct-02 5:52
Tom Wright29-Oct-02 5:52 
GeneralRe: TCP/IP questions Pin
Anonymous29-Oct-02 6:52
Anonymous29-Oct-02 6:52 
GeneralRe: TCP/IP questions Pin
User 988529-Oct-02 6:52
User 988529-Oct-02 6:52 
GeneralRichEdit Text Color (win32api) Pin
zeki yugnak29-Oct-02 5:51
zeki yugnak29-Oct-02 5:51 
QuestionHow to insert data to the top of exist text file? Pin
ooosawaddee329-Oct-02 5:40
ooosawaddee329-Oct-02 5:40 
AnswerRe: How to insert data to the top of exist text file? Pin
Roger Allen29-Oct-02 5:44
Roger Allen29-Oct-02 5:44 
Generalconsole app Pin
User 988529-Oct-02 5:34
User 988529-Oct-02 5:34 
GeneralRe: console app Pin
ian mariano29-Oct-02 8:25
ian mariano29-Oct-02 8:25 
GeneralMP3 Where to start Pin
nlecren29-Oct-02 4:42
nlecren29-Oct-02 4:42 
GeneralRe: MP3 Where to start Pin
nlecren29-Oct-02 5:06
nlecren29-Oct-02 5:06 
GeneralRe: MP3 Where to start Pin
Stephane Rodriguez.29-Oct-02 6:01
Stephane Rodriguez.29-Oct-02 6:01 
GeneralRe: MP3 Where to start Pin
nlecren29-Oct-02 7:20
nlecren29-Oct-02 7:20 
GeneralRe: MP3 Where to start Pin
ian mariano29-Oct-02 8:31
ian mariano29-Oct-02 8:31 
QuestionHow do I... Pin
Jason Troitsky (was Hattingh)29-Oct-02 3:45
Jason Troitsky (was Hattingh)29-Oct-02 3:45 

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.