Click here to Skip to main content
15,947,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Byte array to image Pin
Iain Clarke, Warrior Programmer13-Nov-08 23:05
Iain Clarke, Warrior Programmer13-Nov-08 23:05 
QuestionRadio Button Transparency Problem [modified] Pin
rkshdixit13-Nov-08 19:46
rkshdixit13-Nov-08 19:46 
AnswerRe: Radio Button Transparency Problem Pin
Code-o-mat14-Nov-08 6:49
Code-o-mat14-Nov-08 6:49 
GeneralRe: Radio Button Transparency Problem Pin
rkshdixit17-Nov-08 19:09
rkshdixit17-Nov-08 19:09 
GeneralRe: Radio Button Transparency Problem Pin
Code-o-mat18-Nov-08 2:17
Code-o-mat18-Nov-08 2:17 
QuestionMouse Events Pin
Aabid13-Nov-08 19:46
Aabid13-Nov-08 19:46 
AnswerRe: Mouse Events Pin
SandipG 13-Nov-08 20:12
SandipG 13-Nov-08 20:12 
QuestionHow to enable resize when no border for window? Pin
tarunclassic13-Nov-08 19:03
tarunclassic13-Nov-08 19:03 
Hi all,

In my mfc application I have a main window which has no title bar, no resizing frame, no border n all. I am programmatically creating title bar and maximize and minimize buttons.

For resizing and move operations I am handling hit test messages.

But since I have no title bar so system menu doesn’t appear by default, and also left click on task bar doesn’t maximize the window.

For this to work I added WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_SYSMENU styles to my frame window. Everthing started working sysmenu on right click,maximize,minimize,move n all but unexpectedly resizeing stopped working. If I remove WS_SYSMENU resize starts working. I have no idea what happened. One solution thought was to add WS_THICKFRAME to the window but I don’t want to use it as it changes the look of window which client doesn’t want.

Can you suggest something on this?
AnswerRe: How to enable resize when no border for window? Pin
Code-o-mat14-Nov-08 6:52
Code-o-mat14-Nov-08 6:52 
QuestionExecute Program error Pin
Nikesh Jagtap13-Nov-08 18:59
Nikesh Jagtap13-Nov-08 18:59 
QuestionRe: Execute Program error Pin
David Crow14-Nov-08 3:29
David Crow14-Nov-08 3:29 
AnswerRe: Execute Program error Pin
Nikesh Jagtap14-Nov-08 17:13
Nikesh Jagtap14-Nov-08 17:13 
QuestionRe: Execute Program error Pin
David Crow17-Nov-08 3:26
David Crow17-Nov-08 3:26 
QuestionWeird Graphics Bug [modified] Pin
Leslie Sanford13-Nov-08 18:34
Leslie Sanford13-Nov-08 18:34 
AnswerRe: Weird Graphics Bug Pin
Code-o-mat14-Nov-08 7:06
Code-o-mat14-Nov-08 7:06 
GeneralRe: Weird Graphics Bug Pin
Leslie Sanford14-Nov-08 7:24
Leslie Sanford14-Nov-08 7:24 
GeneralRe: Weird Graphics Bug Pin
Code-o-mat14-Nov-08 7:35
Code-o-mat14-Nov-08 7:35 
QuestionThe Editbox is working in XP, but it is white in color in Vista! Pin
LaHaHa13-Nov-08 17:39
LaHaHa13-Nov-08 17:39 
AnswerRe: The Editbox is working in XP, but it is white in color in Vista! Pin
David Crow14-Nov-08 3:32
David Crow14-Nov-08 3:32 
GeneralRe: The Editbox is working in XP, but it is white in color in Vista! Pin
LaHaHa14-Nov-08 6:06
LaHaHa14-Nov-08 6:06 
AnswerRe: The Editbox is working in XP, but it is white in color in Vista! Pin
Hamid_RT14-Nov-08 8:40
Hamid_RT14-Nov-08 8:40 
QuestionVC++2008 manifest dependencies confusion. Pin
oleg6313-Nov-08 12:03
professionaloleg6313-Nov-08 12:03 
AnswerRe: VC++2008 manifest dependencies confusion. Pin
Saurabh.Garg13-Nov-08 13:52
Saurabh.Garg13-Nov-08 13:52 
GeneralRe: VC++2008 manifest dependencies confusion. Pin
oleg6314-Nov-08 3:43
professionaloleg6314-Nov-08 3:43 
QuestionI do not understand why this compiles Pin
BobInNJ13-Nov-08 11:03
BobInNJ13-Nov-08 11:03 

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.