Solved

how do i make a multiline checkbox

Posted on 2001-07-08
2
259 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 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
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…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 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