01-28-2005, 05:51 AM
When creating the window, just specify that it has no border style.
Normally you do this:
But, no border? No problem:
That is based on the Windows API documentation, I didn't test it.
Normally you do this:
Code:
hWnd = CreateWindowEx( 0, _
szAppName, _
"The Hello Program", _
WS_OVERLAPPEDWINDOW, _
CW_USEDEFAULT, _
CW_USEDEFAULT, _
CW_USEDEFAULT, _
CW_USEDEFAULT, _
null, _
null, _
hInstance, _
null )
But, no border? No problem:
Code:
hWnd = CreateWindowEx( 0, _
szAppName, _
ByVal 0%, _
WS_CHILD, _
CW_USEDEFAULT, _
CW_USEDEFAULT, _
CW_USEDEFAULT, _
CW_USEDEFAULT, _
null, _
null, _
hInstance, _
null )
That is based on the Windows API documentation, I didn't test it.
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'