CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ProgramArtist

Page 1 of 20 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    12,744

    Re: Need 2-dimensional Bitarray

    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:...
  2. Replies
    3
    Views
    1,006

    Re: Print Preview

    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...
  3. Replies
    3
    Views
    1,006

    Re: Print Preview

    Hi,

    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...
  4. Thread: redraw

    by ProgramArtist
    Replies
    4
    Views
    1,070

    Re: redraw

    Hi,

    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...
  5. Replies
    8
    Views
    903

    Re: string question

    In the link: Look what they wrote after "Element access:"

    Regards
    PA
  6. Re: Draw an image continously using pixel value in vc++

    Hi,

    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...
  7. Replies
    12
    Views
    4,017

    Re: A question regarding SetWindowPos

    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.

    Regards
    PA
  8. Re: Writing an interactive home/interior designing software?

    Hi,

    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.
    ...
  9. Replies
    1
    Views
    17,090

    Re: Insert text into texarea field

    Using jqery you can do it the following way:

    The ajax call should look something like this:



    $.ajax({
    type: "POST",
    url: "http://www.yourserver/your_php_file.php",
    data:...
  10. Re: How to make multiple selections from a tree control?

    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:...
  11. Replies
    2
    Views
    2,975

    Re: a simple problem with image processing

    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...
  12. Re: Predefining Object Names Before Initialization

    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...
  13. Replies
    11
    Views
    8,341

    Re: WS_TABSTOP not working with Combobox

    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 |...
  14. Replies
    11
    Views
    19,820

    Re: Can't set text in Edit Box of ComboBox

    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:

    28885

    (Note: This is a German Outlook. "An" = "To",...
  15. Replies
    11
    Views
    19,820

    Re: Can't set text in Edit Box of ComboBox

    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...
  16. Replies
    11
    Views
    8,341

    Re: WS_TABSTOP not working with Combobox

    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...
  17. Replies
    11
    Views
    19,820

    Re: Can't set text in Edit Box of ComboBox

    I tried to modify your code from the original post:



    {
    /* Get index of current selection and the text of that selection. */
    TCHAR buffer[200];
    int index = SendMessage(m_hRecipients,...
  18. Re: Scroll Multiline Edit Box overwrites text within???

    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...
  19. Replies
    11
    Views
    8,341

    Re: WS_TABSTOP not working with Combobox

    Dear rzdybel,

    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...
  20. Replies
    11
    Views
    8,341

    Re: WS_TABSTOP not working with Combobox

    Yes, you shoud use the [ ] brackets. It's not html here.
  21. Replies
    8
    Views
    1,598

    Re: Bitwise Hex

    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...
  22. Replies
    11
    Views
    19,820

    Re: Can't set text in Edit Box of ComboBox

    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.
    ...
  23. Replies
    11
    Views
    8,341

    Re: WS_TABSTOP not working with Combobox

    Dear rzdybel,

    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...
  24. Replies
    11
    Views
    8,341

    Re: WS_TABSTOP not working with Combobox

    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...
  25. Replies
    1
    Views
    3,423

    Re: Carrying a value

    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...
Results 1 to 25 of 477
Page 1 of 20 1 2 3 4





Click Here to Expand Forum to Full Width

Featured