Type: Posts; User: ProgramArtist
Search took 0.02 seconds.
April 5th, 2012, 05:32 AM
First: what you wrote is not c++.
A two dimensional array is either an array to an array or maybe declared as <type> arr_foo[n][m];.
Static sized bit array:...
January 4th, 2012, 07:44 AM
No, you aren't wrong here.
The built in preview feature of the MFC framework AFAIK depends from the doc/view style.
But nevertheless you can create an "empty" new project using the wizzard and...
December 20th, 2011, 04:46 AM
I didn't have the time to read your link. But as an idea:
To get to know how to do a print preview:
Create a new project with the wizard, enable the print preview feature. Imlpement...
December 13th, 2011, 03:26 AM
What is MyDraw ?
Especially: What is inherited from?
Please use code tags (as described in the "Before you post" section)!
To "erase" something drawn generally:
In MS-Windows all...
November 30th, 2011, 04:44 AM
In the link: Look what they wrote after "Element access:"
November 30th, 2011, 04:29 AM
Could you please give us more information abot what you're trying to achieve (not how)?
No, in the code you've posted you draw some lines of pixels. You neither have a bitmap/image...
November 29th, 2011, 01:43 AM
Regarding to Microsoft's MSDN you should use SWP_xxxxx constants as the last parameter of SetWindowPos. SW_xxx constants are for the ShowWindow function.
November 22nd, 2011, 04:23 AM
First: You're in the wrong forum. This forum is about Microsoft Visual C++. There is one at codeguru for Non-Visual-C++ Applications which would be more appropiate for your question.
November 15th, 2011, 08:11 AM
Using jqery you can do it the following way:
The ajax call should look something like this:
November 8th, 2011, 02:47 AM
There is no "built-in" functionality for a multi select tree control in MS-Windows.
Subclassing a tree control is a possibility, but it is still much work to do.
Maybe this is helpful:...
November 7th, 2011, 09:03 AM
Can you please provide some more info:
Is the bitmap a file or in memory?
Which function are you using to "draw"?
Why do you think that 255 should be red?
AFAIK 255 in a 8bit bmp stands for the...
October 20th, 2011, 02:05 AM
As long as you are not going to write a code generator that does not make any sense. A class is an abstraction for (complex) data types.
I guess you want to have indeterminate count of instances of...
October 10th, 2011, 03:52 AM
I created a Win32 test application and added 3 controls (using your posted code):
m_hRecipients = CreateWindow(L"COMBOBOX", NULL, WS_VISIBLE | WS_CHILD | WS_BORDER | CBS_DROPDOWN |...
October 10th, 2011, 03:06 AM
No, my Outlook 2002 doesn't use a combo box for this purpose. It uses a combination of an edit box and a button exactly as I did suggest:
(Note: This is a German Outlook. "An" = "To",...
October 7th, 2011, 08:44 AM
Could you explain as clearly as possible what exactly you want to achieve?
As far as I know now from your posts you want to:
Select something in the list box part of the combo box (That's...
October 7th, 2011, 08:37 AM
It is very hard to help if you are not able to answer questions like: What kind of project do you have?
If you so new to Windows programming: Are you sure that handling WM_TAB in a form or a...
October 6th, 2011, 04:34 AM
I tried to modify your code from the original post:
/* Get index of current selection and the text of that selection. */
int index = SendMessage(m_hRecipients,...
October 6th, 2011, 03:30 AM
Can you show the properties (windows styles) of the edit box? Open the resource editor (IDD_ERR) and look at the properties of the edit box.
You open the error dialog without a parent window. That...
October 6th, 2011, 03:05 AM
It is still not clear what the problem is.
By default the TAB keyboard message (and SHIFT+TAB the same way) is handled by the dialog's window procedure.
If you want to handle TAB...
October 6th, 2011, 02:10 AM
Yes, you shoud use the [ ] brackets. It's not html here.
October 6th, 2011, 02:00 AM
Can you explain what you mean with "binary, not in hex"?
Hex is a numeral system, it represents values. Anyway all the values in your computer are still binaries (they consist of zero's and...
October 5th, 2011, 03:42 AM
I played a little bit around with similar code.
What you're trying to achieve seems to be not working since the control resets the contents of the edit box "at the same time" you're changing it.
October 5th, 2011, 01:59 AM
What do you want to achieve?
Do you want the TAB key to be working as normal or do you want to handle it by yourself for some special action?
If you now get the WM_GETDLGCODE...
October 4th, 2011, 09:19 AM
What you're writing is not correct. Of course the WS_TABSTOP window style works with your combo box. If you have another control in your dialog then TAB will move the caret between the controls and...
September 30th, 2011, 03:14 AM
First: Please use code tags when posting code to preserve the indentation!
Second: Please post the correct code. Your code cannot be compiled (at least for some missing semicolons). You wrote you...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!