Solved

how do i make a multiline checkbox

Posted on 2001-07-08
2
250 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
Comment Utility
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
Comment Utility
yeah i had looked at the button styles at msdn i just skipped over that one i guess
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now