Click here to Skip to main content
15,914,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem about draw text Pin
Nishad S7-Sep-07 1:26
Nishad S7-Sep-07 1:26 
GeneralRe: Problem about draw text Pin
kcynic7-Sep-07 3:55
kcynic7-Sep-07 3:55 
GeneralRe: Problem about draw text Pin
Nishad S8-Sep-07 0:47
Nishad S8-Sep-07 0:47 
GeneralRe: Problem about draw text Pin
kcynic8-Sep-07 2:08
kcynic8-Sep-07 2:08 
AnswerRe: Problem about draw text Pin
Hamid_RT6-Sep-07 23:47
Hamid_RT6-Sep-07 23:47 
AnswerRe: Problem about draw text Pin
kcynic7-Sep-07 1:28
kcynic7-Sep-07 1:28 
QuestionParent & owner Pin
nbugalia6-Sep-07 21:14
nbugalia6-Sep-07 21:14 
AnswerRe: Parent & owner Pin
Jason Teagle6-Sep-07 22:18
Jason Teagle6-Sep-07 22:18 
In both cases, the parent or owner has been set as the parent of a control (e.g. SetParent(), or by specifying in the parent parameter of a Create() call).

The difference is that if the control was created with the WS_CHILD style, then the outer window is a PARENT. If it was created without this style, it is only an OWNER.

For a parent window, when the parent is minimized all child controls are hidden. For an owner only, 'owned' windows remain in place and can be minimized separately.

Note that only 'windows' can be owned - 'controls' *must* have a parent and are therefore created with WS_CHILD.

(GetParentOwner() will find the nearest window that is *either* a parent or an owner, but not a child - the others will keep walking up the chain until they find specifically one or the other.)

QuestionToolbar in Windows Taskbar Pin
Nishad S6-Sep-07 21:12
Nishad S6-Sep-07 21:12 
AnswerRe: Toolbar in Windows Taskbar Pin
Karismatic6-Sep-07 23:03
Karismatic6-Sep-07 23:03 
AnswerRe: Toolbar in Windows Taskbar Pin
Naveen6-Sep-07 23:10
Naveen6-Sep-07 23:10 
GeneralRe: Toolbar in Windows Taskbar Pin
Nishad S7-Sep-07 0:53
Nishad S7-Sep-07 0:53 
QuestionNew to win32 controls, using the toolbar+buttons Pin
ioctl516-Sep-07 21:05
ioctl516-Sep-07 21:05 
AnswerRe: New to win32 controls, using the toolbar+buttons Pin
Naveen6-Sep-07 22:54
Naveen6-Sep-07 22:54 
QuestionDisabling the Hot Key [modified] Pin
shakumar_226-Sep-07 20:57
shakumar_226-Sep-07 20:57 
AnswerRe: Disabling the Hot Key Pin
Randor 6-Sep-07 23:22
professional Randor 6-Sep-07 23:22 
Questionchange Start Butoon Text Pin
GauranG Shah6-Sep-07 20:56
GauranG Shah6-Sep-07 20:56 
AnswerRe: change Start Butoon Text Pin
nbugalia6-Sep-07 21:12
nbugalia6-Sep-07 21:12 
AnswerRe: change Start Butoon Text Pin
Nishad S6-Sep-07 21:19
Nishad S6-Sep-07 21:19 
GeneralRe: change Start Butoon Text Pin
GauranG Shah6-Sep-07 23:12
GauranG Shah6-Sep-07 23:12 
GeneralRe: change Start Butoon Text Pin
Nishad S7-Sep-07 1:13
Nishad S7-Sep-07 1:13 
GeneralRe: change Start Butoon Text Pin
GauranG Shah7-Sep-07 1:26
GauranG Shah7-Sep-07 1:26 
GeneralRe: change Start Butoon Text Pin
Nishad S7-Sep-07 1:33
Nishad S7-Sep-07 1:33 
AnswerRe: change Start Butoon Text Pin
Hamid_RT6-Sep-07 23:53
Hamid_RT6-Sep-07 23:53 
GeneralRe: change Start Butoon Text Pin
GauranG Shah7-Sep-07 1:21
GauranG Shah7-Sep-07 1:21 

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.