Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldisabling menus Pin
SilentWarrior22-Jul-02 7:38
SilentWarrior22-Jul-02 7:38 
GeneralRe: disabling menus Pin
Shog922-Jul-02 12:56
sitebuilderShog922-Jul-02 12:56 
GeneralRe: disabling menus Pin
SilentWarrior23-Jul-02 7:31
SilentWarrior23-Jul-02 7:31 
GeneralRe: disabling menus Pin
Shog923-Jul-02 8:59
sitebuilderShog923-Jul-02 8:59 
Questiongaining access to 16-bit process space ? Pin
bisserke22-Jul-02 7:29
bisserke22-Jul-02 7:29 
QuestionLaunch a new instance from SDI app ? Pin
yarp22-Jul-02 6:15
yarp22-Jul-02 6:15 
GeneralModifyStyle Pin
Hans Ruck22-Jul-02 6:02
Hans Ruck22-Jul-02 6:02 
GeneralRe: ModifyStyle Pin
Paul M Watt22-Jul-02 6:27
mentorPaul M Watt22-Jul-02 6:27 
LONG lStylesRemove;
LONG lStylesAdd;

//C: Get the current styles
LONG lStyle = ::GetWindowLong(hWnd, <FLAGS>);
//C: Remove the unwanted styles.
lStyle &= ~lStylesRemove;
//C: Add the new styles that you want.
lStyle |= lStylesAdd;
//C: Modify the changes back into the window.
::SetWindowLong(hWnd, lStyle);




Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: ModifyStyle Pin
Hans Ruck22-Jul-02 6:43
Hans Ruck22-Jul-02 6:43 
GeneralRe: ModifyStyle Pin
Paul M Watt22-Jul-02 8:33
mentorPaul M Watt22-Jul-02 8:33 
Questionclassview info not accessible ??? Pin
ns22-Jul-02 5:38
ns22-Jul-02 5:38 
AnswerRe: classview info not accessible ??? Pin
Renjith Ramachandran22-Jul-02 6:06
Renjith Ramachandran22-Jul-02 6:06 
GeneralRe: classview info not accessible ??? Pin
ns22-Jul-02 6:39
ns22-Jul-02 6:39 
GeneralTrouble with Radio Buttons Pin
Anonymous22-Jul-02 4:56
Anonymous22-Jul-02 4:56 
GeneralRe: Trouble with Radio Buttons Pin
Navin22-Jul-02 5:36
Navin22-Jul-02 5:36 
GeneralRe: Trouble with Radio Buttons Pin
Renjith Ramachandran22-Jul-02 6:35
Renjith Ramachandran22-Jul-02 6:35 
Generalimitating mouse clicks Pin
NickOne22-Jul-02 4:34
NickOne22-Jul-02 4:34 
Questiontreeview check box color ? Pin
insanely42022-Jul-02 4:25
insanely42022-Jul-02 4:25 
AnswerRe: treeview check box color ? Pin
Shog922-Jul-02 12:58
sitebuilderShog922-Jul-02 12:58 
QuestionDestroyWindow and MDI view...??? Pin
ns22-Jul-02 3:52
ns22-Jul-02 3:52 
GeneralGetOpenFileName unhandled exception. Pin
redeemer22-Jul-02 3:08
redeemer22-Jul-02 3:08 
GeneralRe: GetOpenFileName unhandled exception. Pin
Mike Upton22-Jul-02 4:08
Mike Upton22-Jul-02 4:08 
GeneralRe: GetOpenFileName unhandled exception. Pin
redeemer22-Jul-02 5:01
redeemer22-Jul-02 5:01 
QuestionGDI?? Pin
Anonymous22-Jul-02 2:04
Anonymous22-Jul-02 2:04 
AnswerRe: GDI?? Pin
Christian Graus22-Jul-02 2:05
protectorChristian Graus22-Jul-02 2:05 

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.