?
Solved

how do i make a multiline checkbox

Posted on 2001-07-08
2
Medium Priority
?
261 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
NickRepin earned 200 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
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 …
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

764 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