You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with the Frame control.
When I drag a TextBox control over the Frame control,
it does not become a child of the Frame control as it should. If I drag the Frame control, the Textbox control does not move with the Frame.
Waiting for your answer.
Regards.
The text was updated successfully, but these errors were encountered:
That is not how Frame controls work in pure Win32 API programming. I know what you are saying though because what you describe is the way it works in environments like Visual Basic where a "Frame" control is actually a container that can encapsulate child controls and then when the Frame moves, the children move also. However, in normal Win32 API programming, a Frame control is no different than any other Window. I would have to build the parent-child relationship into WinFBE Frames because it does not come standard with the regular Windows Frame window (which is basically a STATIC class window with some special Window styles to give it the frame look).
How about programming a GroupBox. is a container control.
A group box is a special kind of a button created with the BS_GROUPBOX style.
CreateWindowW(L"Button", L"Choose colour",
WS_CHILD | WS_VISIBLE | BS_GROUPBOX,
10, 10, 120, 110, hwnd, (HMENU) 0, g_hinst, NULL);
I have a problem with the Frame control.
When I drag a TextBox control over the Frame control,
it does not become a child of the Frame control as it should. If I drag the Frame control, the Textbox control does not move with the Frame.
Waiting for your answer.
Regards.
The text was updated successfully, but these errors were encountered: