Jump to content

Zmiana stylu LBS_MULTIPLESEL podczas działania programu


Hound
 Share

Recommended Posts

Co nalezy zrobic aby ta zmiana w listboxie była uaktualniona (przedtem bylo bez stylu LBS_MULTIPLESEL) ??

DWORD AddStyle= WS_CHILD | WS_VISIBLE | LBS_MULTIPLESEL;
SetWindowLong(hwndl,GWL_STYLE, (LONG) AddStyle);

Probowalem juz takich roziwazan ale nic to nie daje :(

RedrawWindow(hwndl,NULL,NULL,RDW_UPDATENOW|RDW_INVALIDATE|RDW_ERASE|RDW_FRAME);
SetWindowPos(hwndl,HWND_TOP,Left,Top,Width,Height,SWP_FRAMECHANGED);
UpdateWindow(hwndl);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...