Type: Posts; User: crazy boy
Search took 0.01 seconds.
September 16th, 2015, 08:29 AM
Yes, thank you. I read more:
"In all four of the keyboard messages discussed so far, the wParam parameter contains the virtual-key code of the key. The lParam parameter contains some miscellaneous...
September 2nd, 2015, 02:17 AM
I have Visual Studio C++ 2010.
How to display non English characters (in my case Czech) in dialogue box?
In my winapi project, there are two files resource.h and common.rc . They both have...
July 12th, 2015, 08:57 AM
I have read this answer:
The problem I wanted to solve was how to obtain the...
July 10th, 2015, 09:59 AM
I was inaccurate. I mean how to toggle state of checkbox. I found the answer:
July 10th, 2015, 04:43 AM
Edit: Wrong title of the question
How to enable checkbox or disable? I know that it has some enable bit but how to do it?
July 10th, 2015, 04:38 AM
I did not write it correctly, that was mistake. It is window for compilation. It is displayed when some errors or warnings occur.
This was fast. Firstly I could not find anything, but then...
On the image I have 5 square buttons. How to make their border looking same as the combobox button? Either as the Combo itself or as the combos square part on the right side of the combos? The...
Moved content of one .rc file to main rc file. The compiler had problem to include icons from two resources. I have no idea why but this is clear and simple solution.
I am trying to load icons (ico) :
IDB_LOGO BITMAP "res\\aokts_big.bmp"
IDB_GOOD BITMAP "res\\good.bmp"
IDB_EVIL BITMAP "res\\evil.bmp"
If I understand it, to create Groupbox I'll need to use WS_GROUP?
Now I can create controls dynamically, but how can I create static control dynamically? Same way? I think dynamic control (either text or groupbox) doesn't look like window.
I know I can write...
It does not remember. The Windows is not shown in debug mode, but while compilation failed because of errors. When I close it, it will show again next time.
How to correct text line position in edit box? The text in edit box looks a bit higher.
Thanks to this post Sep 3, 2013 at 1:29am I managed:
HFONT createNewFont(HWND dialog, char * fName = "Arial", int fSize=10, int fWeight = FW_BOLD...
I have successfully added the edit box but I cannot use tabs to switch between them. Why is it? And text is bold and large - looks like the font for Window Title was used? How to change it to use...
How can I disable Error list Window to open every time when I debug in Visual Studio? I have the errors in Output window and that is OK but another panel is displayed which takes the...
static const UINT idEM50;
error C2086: 'const int UINT' : redefinition
const int idEM01 = 5001;
I got error
Error 6 error C2086: 'const int UINT'
even I had defined
typedef unsigned int UINT;
Ah, so I need define all controls as static, so I do not save anything. I thought like I would do something like uint control but in loop .... so I cannot. Thanks, for the link
Do I need to define all names?
#define ID_EDITCHILD 100
or can I use int variable for it to dynamically define control IDs?
When I have a dialog window, how can I create edit box without need of resource file? For purpose of creation of edit boxes in a loop. Using Visual Studio 2010
Yep, I'll need to redesign the form yet because now I have a need to add more combo boxes :-)
I have small space on Sheet page and lots of controls. I have combo boxes, which take place, and I need to make them slim, so if I click on it the items should expand. I need to auto-change the width...
OK, I got it. The problem is in the function above. I created new function which I call instead:
LRESULT LinkListBox_Add_ByID(HWND listbox, const Link *link)
WPARAM index1 = (WPARAM)...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!