Click here to Skip to main content
15,915,765 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLVS_FLATSB Pin
User 98857-Feb-03 8:41
User 98857-Feb-03 8:41 
GeneralHWND from ProcessID Pin
#realJSOP7-Feb-03 7:32
professional#realJSOP7-Feb-03 7:32 
GeneralRe: HWND from ProcessID Pin
Tim Smith7-Feb-03 8:38
Tim Smith7-Feb-03 8:38 
GeneralRe: HWND from ProcessID Pin
Chris Meech7-Feb-03 8:42
Chris Meech7-Feb-03 8:42 
GeneralCan't get FrameRgn() to work! :( Pin
Rickard Andersson207-Feb-03 6:44
Rickard Andersson207-Feb-03 6:44 
GeneralRe: Can't get FrameRgn() to work! :( Pin
Paul M Watt7-Feb-03 12:07
mentorPaul M Watt7-Feb-03 12:07 
GeneralRe: Can't get FrameRgn() to work! :( Pin
Rickard Andersson208-Feb-03 1:54
Rickard Andersson208-Feb-03 1:54 
GeneralRe: Can't get FrameRgn() to work! :( Pin
Mike Nordell8-Feb-03 7:15
Mike Nordell8-Feb-03 7:15 
Rickard Andersson wrote:
What am I doing wrong here?

Not reading the documentation?

After a successful call to SetWindowRgn, the system owns the region specified by the region handle hRgn. The system does not make a copy of the region. Thus, you should not make any further function calls with this region handle. In particular, do not close this region handle.

Your code violates both of the the only two documented restrictions.
GeneralRe: Can't get FrameRgn() to work! :( Pin
Rickard Andersson208-Feb-03 9:39
Rickard Andersson208-Feb-03 9:39 
GeneralRe: Can't get FrameRgn() to work! :( Pin
Mike Nordell9-Feb-03 2:26
Mike Nordell9-Feb-03 2:26 
GeneralFile association launched app... Pin
Dr Soong7-Feb-03 6:33
Dr Soong7-Feb-03 6:33 
GeneralRe: File association launched app... Pin
Neville Franks7-Feb-03 10:02
Neville Franks7-Feb-03 10:02 
GeneralRe: File association launched app... Pin
Dr Soong7-Feb-03 12:17
Dr Soong7-Feb-03 12:17 
GeneralChanging the color of a static text Pin
Tom Wright7-Feb-03 5:19
Tom Wright7-Feb-03 5:19 
GeneralRe: Changing the color of a static text Pin
AlexO7-Feb-03 5:27
AlexO7-Feb-03 5:27 
GeneralRe: Changing the color of a static text Pin
Dr Soong7-Feb-03 8:46
Dr Soong7-Feb-03 8:46 
GeneralCatching Exceptions in MFC Pin
Tom Wright7-Feb-03 5:10
Tom Wright7-Feb-03 5:10 
GeneralRe: Catching Exceptions in MFC Pin
AlexO7-Feb-03 5:34
AlexO7-Feb-03 5:34 
GeneralVisual C++ wizard Pin
De Nardis Andrea7-Feb-03 5:03
De Nardis Andrea7-Feb-03 5:03 
Questionhow to set CListbox row height variable? Pin
hamchoy7-Feb-03 4:52
hamchoy7-Feb-03 4:52 
AnswerRe: how to set CListbox row height variable? Pin
Roger Allen7-Feb-03 6:07
Roger Allen7-Feb-03 6:07 
GeneralCPen Pin
Ahmad997-Feb-03 3:55
Ahmad997-Feb-03 3:55 
GeneralRe: CPen Pin
Joaquín M López Muñoz7-Feb-03 4:00
Joaquín M López Muñoz7-Feb-03 4:00 
GeneralRe: CPen Pin
Ahmad997-Feb-03 4:09
Ahmad997-Feb-03 4:09 
GeneralRe: CPen Pin
Maximilien7-Feb-03 4:19
Maximilien7-Feb-03 4:19 

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.