Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Draw text in a pane of a static splitter in a SDI application Pin
John R. Shaw26-May-03 11:57
John R. Shaw26-May-03 11:57 
GeneralCS_SAVEBITS Pin
John R. Shaw26-May-03 8:22
John R. Shaw26-May-03 8:22 
GeneralRe: CS_SAVEBITS Pin
Neville Franks26-May-03 11:31
Neville Franks26-May-03 11:31 
GeneralRe: CS_SAVEBITS Pin
John R. Shaw26-May-03 12:15
John R. Shaw26-May-03 12:15 
GeneralRe: CS_SAVEBITS Pin
Neville Franks26-May-03 12:20
Neville Franks26-May-03 12:20 
GeneralRe: CS_SAVEBITS Pin
John R. Shaw26-May-03 12:48
John R. Shaw26-May-03 12:48 
GeneralRe: CS_SAVEBITS Pin
Neville Franks26-May-03 12:55
Neville Franks26-May-03 12:55 
GeneralRe: CS_SAVEBITS Pin
John R. Shaw26-May-03 13:34
John R. Shaw26-May-03 13:34 
Yes. In fact I am using CNewMenu in the project that is also using the my CDialog derived base class. The problem is that I did not want to subclass and handle all the drawing my self. I wanted to allow a dialog to be drawn normaly including borders (style dependent) and then add a shadow to it.
I did have another idea that might work, but I do not like it. The idea would be to create a second sightly larger window that would cover the the dialog box then set its' drawing region such that only right and bottom of the window will be visable at the right and bottom of the dialog box and then draw the shadow in that region. That way know one will be over writing the shadow. Of cource then you have to keep moving (or sizing) the shadow window when ther user moves (or sizes) the dialog. There are other problems with this idea, but coming up with unique solutions to a problem is what makes programing enjoyable.Smile | :)

Trust in the code Luke. Yea right!
GeneralRe: CS_SAVEBITS Pin
Neville Franks26-May-03 14:49
Neville Franks26-May-03 14:49 
GeneralRe: CS_SAVEBITS Pin
John R. Shaw26-May-03 17:04
John R. Shaw26-May-03 17:04 
GeneralRe: CS_SAVEBITS Pin
Neville Franks27-May-03 11:57
Neville Franks27-May-03 11:57 
QuestionTextOut with leaning attributes ? Pin
dlhson226-May-03 7:46
dlhson226-May-03 7:46 
AnswerRe: TextOut with leaning attributes ? Pin
John R. Shaw26-May-03 8:33
John R. Shaw26-May-03 8:33 
GeneralHosting Calender Pin
bsanoop1726-May-03 7:32
bsanoop1726-May-03 7:32 
GeneralSkins look good, but not always... Pin
georgiek5026-May-03 7:25
georgiek5026-May-03 7:25 
GeneralRe: Skins look good, but not always... Pin
John R. Shaw26-May-03 8:55
John R. Shaw26-May-03 8:55 
GeneralRe: Skins look good, but not always... Pin
georgiek5026-May-03 10:12
georgiek5026-May-03 10:12 
GeneralRe: Skins look good, but not always... Pin
John R. Shaw26-May-03 10:35
John R. Shaw26-May-03 10:35 
GeneralUrgent For Interview Pin
bsanoop1726-May-03 7:23
bsanoop1726-May-03 7:23 
GeneralWin32dll Pin
bsanoop1726-May-03 7:19
bsanoop1726-May-03 7:19 
GeneralAlgorithm Pin
Anonymous26-May-03 7:08
Anonymous26-May-03 7:08 
GeneralRe: Algorithm Pin
John R. Shaw26-May-03 9:19
John R. Shaw26-May-03 9:19 
GeneralRe: Algorithm Pin
John R. Shaw26-May-03 9:22
John R. Shaw26-May-03 9:22 
Generalsmall application Pin
centrum26-May-03 5:02
centrum26-May-03 5:02 
GeneralRe: small application Pin
Renjith Ramachandran26-May-03 6:33
Renjith Ramachandran26-May-03 6:33 

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.