Answer the question
In order to leave comments, you need to log in
How to remove lines around buttons and other elements in WinAPI?
I create a button like this:
hWndButton = CreateWindow(
L"Button",
L"Title",
BS_PUSHBUTTON | BS_TEXT | WS_CHILD | WS_OVERLAPPED | WS_VISIBLE,
100,
100,
100,
50,
hWnd,
NULL,
This,
NULL
);
Answer the question
In order to leave comments, you need to log in
Try like this:
You can send this message to the parent window, and then the focus rectangle should disappear from all child controls.
Creates a variable c
whose value is set to an anonymous function. An anonymous function expects an object as an argument and returns an object in the same way. If the object passed as an argument has a property a
, which, in turn, is also an object and has a property b
, the function c
will return an object with one property b
and the value copied from the object property of the same name a
.
// c :: Object -> Object
console.log( c({ a: { b: 'foo' } }) ) // -> Object {b: "foo"}
{ b: undefined }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question