Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFile equivalent to ntprint.inf in Win98 ? Pin
Somu Lakshmanan16-Apr-02 5:18
Somu Lakshmanan16-Apr-02 5:18 
GeneralAccessing text controls of other dialog box Pin
16-Apr-02 4:58
suss16-Apr-02 4:58 
GeneralRe: Accessing text controls of other dialog box Pin
Chris Losinger16-Apr-02 5:05
professionalChris Losinger16-Apr-02 5:05 
GeneralRe: Accessing text controls of other dialog box Pin
18-Apr-02 4:56
suss18-Apr-02 4:56 
GeneralRe: Accessing text controls of other dialog box Pin
dazinith16-Apr-02 5:34
dazinith16-Apr-02 5:34 
GeneralRe: Accessing text controls of other dialog box Pin
18-Apr-02 4:55
suss18-Apr-02 4:55 
QuestionHow can I easily access addresses in DirectPlay? Pin
Vinsent16-Apr-02 4:48
Vinsent16-Apr-02 4:48 
GeneralProblem with CWnd::PreSubclassWindow Pin
Joel Holdsworth16-Apr-02 3:45
Joel Holdsworth16-Apr-02 3:45 
Hi There!
I've just started writing a CWnd derrived custom control, but I want it by default to have the WS_EX_CLIENTEDGE style. I tried doing this routine...

void CFooCtrl::PreSubclassWindow() 
{
	CWnd::PreSubclassWindow();

	ModifyStyleEx(0, WS_EX_CLIENTEDGE);

}

But for some reason it doesn't work properly. Don't worry, I have checked whether the function is being called or not, and it is. Also, I tried in the dialog resource editor putting the hex of WS_EX_CLIENTEDGE style in the code box for my custom control, and it did produce the desired result. But I would like to have the style hard-coded. Does anyone know why the ModifyStyleEx function seems to be having not effect?

Any Help is much appreciated.

With time we live, with money we spend!
Joel Holdsworth
GeneralRe: Problem with CWnd::PreSubclassWindow Pin
Joaquín M López Muñoz16-Apr-02 9:55
Joaquín M López Muñoz16-Apr-02 9:55 
GeneralRe: Problem with CWnd::PreSubclassWindow Pin
Joel Holdsworth18-Apr-02 7:48
Joel Holdsworth18-Apr-02 7:48 
GeneralRe: Problem with CWnd::PreSubclassWindow Pin
Joaquín M López Muñoz18-Apr-02 8:16
Joaquín M López Muñoz18-Apr-02 8:16 
GeneralRe: Problem with CWnd::PreSubclassWindow Pin
Joel Holdsworth19-Apr-02 10:53
Joel Holdsworth19-Apr-02 10:53 
QuestionHow to hide my programme thoroughly Pin
User 1605516-Apr-02 3:34
User 1605516-Apr-02 3:34 
AnswerRe: How to hide my programme thoroughly Pin
Maximilien16-Apr-02 9:54
Maximilien16-Apr-02 9:54 
GeneralRe: How to hide my programme thoroughly Pin
Alex Cramer16-Apr-02 21:14
Alex Cramer16-Apr-02 21:14 
GeneralCListCtrl Pin
Catherine16-Apr-02 3:29
Catherine16-Apr-02 3:29 
GeneralRe: CListCtrl Pin
NapiSpooler16-Apr-02 4:25
NapiSpooler16-Apr-02 4:25 
GeneralRe: CListCtrl Pin
Catherine16-Apr-02 4:33
Catherine16-Apr-02 4:33 
GeneralRe: CListCtrl Pin
NapiSpooler16-Apr-02 4:42
NapiSpooler16-Apr-02 4:42 
GeneralA beginners guide to dll's Pin
16-Apr-02 3:07
suss16-Apr-02 3:07 
GeneralRe: A beginners guide to dll's Pin
Joel Holdsworth16-Apr-02 3:37
Joel Holdsworth16-Apr-02 3:37 
GeneralRe: A beginners guide to dll's Pin
16-Apr-02 4:48
suss16-Apr-02 4:48 
Generalcopy resources between two projects Pin
lucy16-Apr-02 2:57
lucy16-Apr-02 2:57 
GeneralRe: copy resources between two projects Pin
Brad Bruce16-Apr-02 3:13
Brad Bruce16-Apr-02 3:13 
GeneralRe: copy resources between two projects Pin
lucy16-Apr-02 3:30
lucy16-Apr-02 3:30 

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.