Click here to Skip to main content
15,893,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionShow or Hide image Pin
waxie27-Jan-06 0:42
waxie27-Jan-06 0:42 
AnswerRe: Show or Hide image Pin
Owner drawn27-Jan-06 0:47
Owner drawn27-Jan-06 0:47 
AnswerRe: Show or Hide image Pin
David Crow27-Jan-06 3:00
David Crow27-Jan-06 3:00 
GeneralRe: Show or Hide image Pin
waxie29-Jan-06 15:49
waxie29-Jan-06 15:49 
Questiontough nut Pin
Great A'Tuin26-Jan-06 22:49
Great A'Tuin26-Jan-06 22:49 
AnswerRe: tough nut Pin
PJ Arends26-Jan-06 23:41
professionalPJ Arends26-Jan-06 23:41 
GeneralRe: tough nut Pin
Great A'Tuin27-Jan-06 0:05
Great A'Tuin27-Jan-06 0:05 
GeneralRe: tough nut Pin
PJ Arends27-Jan-06 0:29
professionalPJ Arends27-Jan-06 0:29 
Use an intermediate step. Use two memory bitmaps containing the background image. On one draw your splash screen with TransparentBlt() (Image is 100% opaque, alpha colour 100% transparent), then draw that image at the transparency you want onto the second bitmap. Because the "transparent" parts are the same colour the alpha blending will appear transparent.

As for the window region idea, you should be able to adapt the code found at http://www.codeproject.com/buttonctrl/irregular_buttons.asp[^] to create the reguired window region for your splash screen.




"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
AnswerRe: easy nut Pin
Owner drawn26-Jan-06 23:57
Owner drawn26-Jan-06 23:57 
GeneralRe: easy nut Pin
Great A'Tuin27-Jan-06 0:11
Great A'Tuin27-Jan-06 0:11 
GeneralRe: easy nut Pin
Owner drawn27-Jan-06 0:12
Owner drawn27-Jan-06 0:12 
GeneralRe: easy nut Pin
Great A'Tuin27-Jan-06 0:22
Great A'Tuin27-Jan-06 0:22 
GeneralRe: easy nut Pin
Owner drawn27-Jan-06 0:37
Owner drawn27-Jan-06 0:37 
GeneralRe: easy nut Pin
Owner drawn27-Jan-06 0:40
Owner drawn27-Jan-06 0:40 
GeneralRe: easy nut Pin
Great A'Tuin27-Jan-06 1:36
Great A'Tuin27-Jan-06 1:36 
QuestionDisabling the button Pin
rrrado26-Jan-06 22:46
rrrado26-Jan-06 22:46 
AnswerRe: Disabling the button Pin
Owner drawn26-Jan-06 23:00
Owner drawn26-Jan-06 23:00 
AnswerRe: Disabling the button Pin
David Crow27-Jan-06 3:12
David Crow27-Jan-06 3:12 
GeneralRe: Disabling the button Pin
rrrado27-Jan-06 3:48
rrrado27-Jan-06 3:48 
QuestionRe: Disabling the button Pin
David Crow27-Jan-06 5:16
David Crow27-Jan-06 5:16 
AnswerRe: Disabling the button Pin
rrrado30-Jan-06 22:52
rrrado30-Jan-06 22:52 
QuestionLoading 2 bitmaps in one picture control one at a time Pin
waxie26-Jan-06 22:38
waxie26-Jan-06 22:38 
NewsRe: Loading 2 bitmaps in one picture control one at a time Pin
namaskaaram26-Jan-06 23:13
namaskaaram26-Jan-06 23:13 
QuestionStructured Exception Handling - Win32 Style Pin
Richard Andrew x6426-Jan-06 22:13
professionalRichard Andrew x6426-Jan-06 22:13 
AnswerRe: Structured Exception Handling - Win32 Style Pin
David Crow27-Jan-06 3:17
David Crow27-Jan-06 3:17 

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.