Search:
Type: Posts; User: MFCQuery
Search:
Search took 0.04 seconds.
-
February 23rd, 2012, 01:04 AM
-
February 21st, 2012, 11:38 PM
Yes it's working. In the attached sample the main dialog is modeless and InitInstance returns TRUE. Generally in dialog base application, modal dialog is launch from initinstance. Initinstance...
-
February 21st, 2012, 01:57 AM
>>create an invisible window first that will be a parent for the both your dialogs, the main one >>and the modeless one.
I create one invisible window(win1) and write below in its ONINITDIALOG...
-
February 20th, 2012, 06:27 AM
>>you can try to create an invisible window first that will be a parent for the both your dialogs, >>the main one and the modeless one.
Will that be main dialog window and i should call its...
-
February 19th, 2012, 10:34 PM
It's not hide. I want to display modeless dialog under main dialog. Modeless dialog should not display on top of main dialog. I am using modeless dialog to display message logs.
Well thanks for all...
-
February 19th, 2012, 03:32 AM
Yes by setting tool window style it does not display on status bar
But modeless window comes on top if i
click on modeless window or
minimize main window and maximize
to set modeless window...
-
February 19th, 2012, 12:13 AM
Well passing CWnd::GetDesktopWindow() as second argument in Create function has solved the problem but modeless dialog now displays on status bar. Now two windows (main dialog and modeless dialog)...
-
February 17th, 2012, 04:52 AM
Yes by passing desktop window, modeless dialog displays under main window
Thanks
-
February 17th, 2012, 03:29 AM
Attached is screen show which shows modeless dialog displays on top of main dialog.
-
February 17th, 2012, 01:44 AM
I have a dialog box application which displays main dialog in centre of screen. With this dialog i create one modeless dialog, modeless dialog displays below main dialog
the top position of modeless...
-
February 4th, 2012, 10:41 PM
Thanks for the given link for VS2008.
I found this problem(radio button color not set) on VS2008 because first i got it in visual studio6 (use XP theme there). I create a dialog base application...
-
February 3rd, 2012, 10:29 PM
In visual studio 2008
I have dialog base application, dialog box contains one radio button. to set the text color of radio button
HBRUSH CtestDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) ...
-
December 13th, 2011, 05:38 AM
Ok.
I want to refresh the window explorer. When i hide some folder, it does not remove from left pane of window explorer.
To remove it, i thought to use EnumChildWindows, its callback function...
-
December 13th, 2011, 05:09 AM
Sorry for miscommunication. It was my first message. After that when you suggest to use EnumChildWindows, i tried that. No compile error. But left pane of window is not refresh
-
December 13th, 2011, 04:44 AM
I am not getting compile error. I do not pass anything to callback function and i think i dont need to pass anything.
callback function gives me window handle for all child windows, I just want to...
-
December 13th, 2011, 02:20 AM
I have tried with SHChangeNotify but it does not remove folder from left pane. I have tried with all options by passing folder path.
About enumchildwindows, i pass desktop window handle to it,...
-
December 12th, 2011, 04:07 AM
If i hide a folder using SetFileAttributes(FILE_ATTRIBUTE_HIDDEN), the folder hides. But if window explorer is open then i noticed folder does not hide from left page.
To hide it from left pane i...
-
November 12th, 2011, 09:22 AM
Thanks Experts.
TransprentBlt solve the problem.
-
November 11th, 2011, 06:43 AM
TransparentBlt is part of VS2010 and i am using Visual Studio6. Is there no other way to change the background color
-
November 11th, 2011, 01:44 AM
CImageList will not solve the problem because my bitmap image is not single image. It contains 3 images for different state like mouse over, click and general. When i call image_list.add it gives...
-
November 10th, 2011, 07:26 AM
If i dont use XP theme then also transparent bitmap problem occur. So i think i should not go with DrawThemeBackground function.
-
November 8th, 2011, 05:41 AM
so it means i should not use xp style theme on windows7. I should use it only for winxp. Right.
to support xp style theme on winxp, i add some string in my project resource
"xml version......."
...
-
November 8th, 2011, 04:25 AM
My my application is dialog box application (with Unicode)
I am using XP style theme in my application.
-
November 8th, 2011, 03:10 AM
Thanks for your reply.
For any image on button, i am using an image which contains actually 3 images: general, mouse over and click
Will cimagelist support that?
as Add method of imagelist takes...
-
November 7th, 2011, 02:21 AM
To display bitmap on button i am using below
http://www.codeproject.com/KB/buttons/hoverbutton.aspx
|
Click Here to Expand Forum to Full Width
|