Solved

how do i make a multiline checkbox

Posted on 2001-07-08
2
253 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

776 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