vomek Rahman
vomek Rahman

Reputation: 21

Dailog box not visible when custom control is added in MFC Dailog Application

i have add custom control on dailog box in MFC Dailog application.when i run my code dailog box is not visible.

anyone having any idea how to fix this??

Upvotes: 1

Views: 100

Answers (1)

Joseph Willcoxson
Joseph Willcoxson

Reputation: 6050

Yes. Usually it's because the window class (WNDCLASS) of the custom control has not been registered (RegisterClass()) yet. Make sure you register the class first.

Upvotes: 1

Related Questions