Type: Posts; User: techie.ashish
Search took 0.01 seconds.
November 12th, 2008, 08:34 AM
I'm trying to make window with specific requirement.. But that's not my issue. It's related to RegisterClassEx and CreateWindowEx.. Both actually fails.. I've no idea why.. I put...
November 12th, 2008, 06:17 AM
Hey Victor... I'm doing this to make my dialog transparent.. And it works... But i've one problem. I'm showing my PNG on picture box and it also get transparent.. How to i only show picture box PNG...
November 12th, 2008, 04:50 AM
Yeah WM_PAINT worked.. I thought it should work on WM_INITDIALOG.. Thanks a ton..
Well i've one other prob. I want to make my dialog transparent. I can do that if i make my Dialog box with the...
November 12th, 2008, 03:33 AM
I did something like this..Tell me it's right approach..
HBITMAP m_bitmap = NULL;
November 11th, 2008, 11:23 AM
Yes it's from the same link..
But That part of the link which say "Display a File in a Picture Box".. I'm finding hard to change in Non-MFC. . Could you please elaborate that... I load PNG and need...
November 11th, 2008, 10:11 AM
I'm using CxImage to load and draw PNG. Either in dialog box or preferably on desktop screen.. Need help how to draw the PNG... Which function do i need to use..
November 10th, 2008, 04:00 AM
I made my dialog box transparent.. so that when i draw something on dialog it looks like i draw on desktop screen. Now when i put another window over the drawn stuff it took previous...
November 8th, 2008, 07:59 AM
Let me rephrase the question.. How do i draw picture (BMP or PNG) on window screen. Not Dialog Box.
And without MFC..
November 8th, 2008, 02:39 AM
Well thanks for the link..But i really don't know that's gonna help me..
I need to do it in some different way. Adding bitmap or PNG on my control then drawing text on window screen.. I know it...
November 8th, 2008, 02:13 AM
Thanks Kirants for reply..
Well not on desktop. I want to draw when the login window come while booting up the computer or when someone lock the computer. I believe the handle at that time would...
November 8th, 2008, 12:58 AM
I need to draw PNG(Or bitmap if it's transparent) and some text on windows startup or when someone lock the computer.. It's Non MFC application.. Can someone throw light on approach??...
October 21st, 2008, 01:56 AM
Yes MARC.. That's what i'm looking for.. Thanks to pointing it out.
That was great help...
October 20th, 2008, 02:00 AM
Well might be...Anyways included a sample project..Hope this will compile...
October 18th, 2008, 03:06 AM
Took this snap while moving to office.. Although very casual..
October 18th, 2008, 02:09 AM
Alright.. Uploaded the project... Please take a look..
October 17th, 2008, 04:54 AM
WM_SETCURSOR and SetCursor does change the cursor but i believe the window is still busy.. That's why not picking any of the messages.. When i set the cursor it changes but after that when i click on...
October 17th, 2008, 02:33 AM
And yes i'm not handling WM_SETCURSOR. Thought window would handle it..
October 17th, 2008, 02:29 AM
Do i need to forcibly change the cursor?? Shouldn't window show appropriate cursor? I mean when animate window plays the animation window should change the cursor to normal one.....
October 17th, 2008, 02:23 AM
Yes Thanks..I was not giving opportunity to control to handle the painting..
Thanks a ton...
October 16th, 2008, 07:16 AM
How do i use DrawText in animate window. With the help of animate window i'm popping up my dialog box. And in WM_PAINT i'm using DrawText to put some text on Bitmap. DrawText works fine...
October 16th, 2008, 02:19 AM
That's what i mean... I don't need to click anything when it plays animation. But when it stops it shows the same cursor..
I'm updating the window when it stops animation...
October 15th, 2008, 08:29 AM
Do i need to update or invalidate the Window when animatewindow stops??
I tried that but no success. Can someone throw any light on that??
October 15th, 2008, 02:37 AM
Yeah That is expected.. But when it stop for 4 seconds the mouse cursor remains same (i.e BUSY).. I mean isn't there any way to click on control after playing animation???
October 14th, 2008, 11:05 AM
I've a dialog box in which i'm using AnimateWindow. Everything is OK but whenever my dialog Animate(Up to down in may case with the help of)
AnimateWindow(hWnd, 300, AW_SLIDE | ...
October 9th, 2008, 03:05 AM
I'm using AnimateWindow for Bubble window or PopUp window for Win98, Win 2000 and above... As i've to run my exe on Win95 and NT also so for that i'm making that window with the help of...
Click Here to Expand Forum to Full Width