Solved

how do i make a multiline checkbox

Posted on 2001-07-08
2
256 Views
Last Modified: 2013-12-03
i want to make a multiline checkbox but

          hwndClip = CreateWindow (TEXT ("button"), TEXT ("blah\nblah"),
                                        WS_CHILD | WS_VISIBLE | BS_AUTOCHECKBOX,
                                        0, 0, 0, 0,
                                        hwnd, (HMENU) ID_CLIP, hInst, NULL);

isnt working. how can i make one?
0
Comment
Question by:Kitty__Kong
2 Comments
 
LVL 15

Accepted Solution

by:
NickRepin earned 50 total points
ID: 6263944
1) BS_MULTILINE
2) \r\n
3) non-zero height and width


hwndClip = CreateWindow (TEXT ("button"), TEXT ("blah\r\nblah"),BS_AUTOCHECKBOX | BS_MULTILINE | WS_CHILD | WS_VISIBLE,0, 0, 200, 100,hwnd, (HMENU) ID_CLIP, hInst, NULL);
0
 
LVL 1

Author Comment

by:Kitty__Kong
ID: 6268346
yeah i had looked at the button styles at msdn i just skipped over that one i guess
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
Strange - Deleted Resource Info appears in Azure Portal 6 91
Licensing Sharepoint 2016 for developers 11 60
PL SQL Developer 7 53
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question