Click here to Skip to main content
16,016,770 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About PostQuitMessage Function Pin
Moak16-May-07 22:17
Moak16-May-07 22:17 
GeneralRe: About PostQuitMessage Function Pin
Arman S.17-May-07 0:41
Arman S.17-May-07 0:41 
GeneralRe: About PostQuitMessage Function Pin
fd012900217-May-07 1:36
fd012900217-May-07 1:36 
GeneralRe: About PostQuitMessage Function Pin
Moak17-May-07 2:10
Moak17-May-07 2:10 
Questionconsuming a webservice from a Win32 DLL Pin
rluckwell16-May-07 13:54
rluckwell16-May-07 13:54 
AnswerRe: consuming a webservice from a Win32 DLL Pin
led mike16-May-07 16:08
led mike16-May-07 16:08 
Question32bit app calling NtOpenKey fails on x64 Pin
JeffRoz16-May-07 13:37
JeffRoz16-May-07 13:37 
QuestionWindows Toolbar and... Pin
Chirieac16-May-07 12:09
Chirieac16-May-07 12:09 
Hello!

I want my desktop to be clean (without shortcuts), but I want fast access to programs too.
So I want to make a program that behave like a Windows toolbar (with autohide):
when I point the mouse to the top-left corner of the screen I want my toolbar to appear.
I know that with Windows XP I can make a custom autohide toolbar (with what ever I want, where ever I want),
but I want some some menus entry (like: games, apps...), transparency, sounds and others.
I think this will eat some memory (with all that transparency and sounds), so here's my idea:

I will write a simple MFC program, that run in the background, without any controls and place it on top-left corner of the screen.
When the mouse (OnMouseMove) is over the window (which is a little square) it will call the actual program (ShellExecute).
This little "call program" eat around 2,700k.

* Is there a way to optimize this program to consume less memory?
* Is there another way to make what I want with less memory?
(some Windows shell programming, but this is some advanced stuff and I'm a beginner).

Here's some others questions not related with above (I hope you don't mind that I will post them here):

1. I found on the web some classes derived from the CBitmapButton and from all of them I get an error like this:

error LNK2001: unresolved external symbol "public: __thiscall MCBitmapButton::MCBitmapButton(void)" (??0MCBitmapButton@@QAE@XZ)

where MCBitmapButton is the derived class. What is the problem?

2. How can I make the background of MFC window dialog 50% transparent, without making the controls (like buttons) transparent.
If I use SetLayeredWindowAttributes: with LWA_COLORKEY the buttons are opaque, but the background is completly tranparent.
with LWA_ALPHA the buttons and the background share the same level of transparency.

3. Is there a way to make a MFC window dialog to have gradient-transparency: from opaque to completly transparent?

QuestionCode Pin
Joseph_B16-May-07 11:52
Joseph_B16-May-07 11:52 
AnswerRe: Code Pin
toxcct16-May-07 12:06
toxcct16-May-07 12:06 
AnswerRe: Code Pin
Christian Graus16-May-07 15:31
protectorChristian Graus16-May-07 15:31 
AnswerRe: Code Pin
vijay_aroli16-May-07 19:27
vijay_aroli16-May-07 19:27 
AnswerRe: Code Pin
John R. Shaw16-May-07 22:19
John R. Shaw16-May-07 22:19 
GeneralRe: Code Pin
Hamid_RT16-May-07 22:37
Hamid_RT16-May-07 22:37 
GeneralRe: Code Pin
John R. Shaw16-May-07 23:14
John R. Shaw16-May-07 23:14 
Question[Message Deleted] Pin
Arris7416-May-07 10:12
Arris7416-May-07 10:12 
AnswerRe: Question about CImageList::Create Pin
David Crow16-May-07 10:25
David Crow16-May-07 10:25 
AnswerRe: Question about CImageList::Create Pin
Mark Salsbery16-May-07 10:31
Mark Salsbery16-May-07 10:31 
QuestionRe: [Message Deleted] Pin
Hamid_RT16-May-07 19:19
Hamid_RT16-May-07 19:19 
Questionnew to win32 Pin
priyank_ldce16-May-07 9:59
priyank_ldce16-May-07 9:59 
AnswerRe: new to win32 Pin
Christian Graus16-May-07 10:35
protectorChristian Graus16-May-07 10:35 
GeneralRe: new to win32 Pin
John R. Shaw16-May-07 22:25
John R. Shaw16-May-07 22:25 
QuestionTiny Calendar Pin
Tarekpk16-May-07 9:52
Tarekpk16-May-07 9:52 
AnswerRe: Tiny Calendar Pin
David Crow16-May-07 10:23
David Crow16-May-07 10:23 
GeneralRe: Tiny Calendar Pin
Tarekpk16-May-07 20:54
Tarekpk16-May-07 20:54 

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.