Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFTP exploration Pin
naradaji14-Jan-03 1:35
naradaji14-Jan-03 1:35 
GeneralRe: FTP exploration Pin
carrie14-Jan-03 1:49
carrie14-Jan-03 1:49 
GeneralRe: FTP exploration Pin
naradaji14-Jan-03 4:16
naradaji14-Jan-03 4:16 
GeneralRe: FTP exploration Pin
Anonymous14-Jan-03 4:45
Anonymous14-Jan-03 4:45 
GeneralRe: FTP exploration Pin
naradaji14-Jan-03 6:18
naradaji14-Jan-03 6:18 
GeneralRe: FTP exploration Pin
Gisle Vanem14-Jan-03 4:47
Gisle Vanem14-Jan-03 4:47 
GeneralSetWindowRgn problems Pin
Ceri13-Jan-03 23:35
Ceri13-Jan-03 23:35 
GeneralRe: SetWindowRgn problems Pin
jhwurmbach13-Jan-03 23:54
jhwurmbach13-Jan-03 23:54 
Ceri wrote:
Is there anyway to stop windows from deleteting the region after you set the window region to a different one

No. MSDN states:
After a successful call to SetWindowRgn, the operating system owns the region specified by the region handle hRgn. The operating system does not make a copy of the region, so do not make any further function calls with this region handle, and do not close this region handle

But you can use CRgn::CopyRgn() to make a local copy of your region, before you feed it to the API.


My opinions may have changed, but not the fact that I am right.
GeneralRe: SetWindowRgn problems Pin
Ceri14-Jan-03 0:06
Ceri14-Jan-03 0:06 
GeneralRe: SetWindowRgn problems Pin
jhwurmbach14-Jan-03 0:08
jhwurmbach14-Jan-03 0:08 
GeneralRe: SetWindowRgn problems Pin
Hans Ruck14-Jan-03 1:17
Hans Ruck14-Jan-03 1:17 
GeneralRe: SetWindowRgn problems Pin
Joaquín M López Muñoz14-Jan-03 0:02
Joaquín M López Muñoz14-Jan-03 0:02 
General[OT] Determine the compiler-version Pin
tabor2513-Jan-03 23:09
tabor2513-Jan-03 23:09 
GeneralRe: [OT] Determine the compiler-version Pin
Oliver Anhuth13-Jan-03 23:20
Oliver Anhuth13-Jan-03 23:20 
GeneralRe: [OT] Determine the compiler-version Pin
tabor2513-Jan-03 23:53
tabor2513-Jan-03 23:53 
GeneralFirst-chance exception: Mem violation Pin
boon kian13-Jan-03 22:56
boon kian13-Jan-03 22:56 
GeneralRe: First-chance exception: Mem violation Pin
Hans Ruck13-Jan-03 23:11
Hans Ruck13-Jan-03 23:11 
GeneralRe: First-chance exception: Mem violation Pin
boon kian13-Jan-03 23:17
boon kian13-Jan-03 23:17 
Generalendless loop interruption Pin
geluionescu13-Jan-03 22:46
geluionescu13-Jan-03 22:46 
GeneralRe: endless loop interruption Pin
Joaquín M López Muñoz13-Jan-03 23:48
Joaquín M López Muñoz13-Jan-03 23:48 
GeneralRe: endless loop interruption Pin
geluionescu14-Jan-03 1:08
geluionescu14-Jan-03 1:08 
GeneralRe: endless loop interruption Pin
Ceri14-Jan-03 0:04
Ceri14-Jan-03 0:04 
GeneralRe: endless loop interruption Pin
geluionescu14-Jan-03 3:21
geluionescu14-Jan-03 3:21 
GeneralRe: endless loop interruption Pin
Ceri14-Jan-03 4:55
Ceri14-Jan-03 4:55 
GeneralRe: endless loop interruption Pin
geluionescu14-Jan-03 5:45
geluionescu14-Jan-03 5:45 

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.