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

Search:

Type: Posts; User: _Superman_

Page 1 of 18 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: how to increase the height of the list part of a combo box

    This article should help you - http://www.codeproject.com/KB/combobox/colorpicker.aspx
  2. Replies
    5
    Views
    1,120

    Re: CString's GetLength mystery

    CString maintains an internal count.

    Normally the CString constructor or operators like =, += or functions like Format, Insert, Replace etc. are used to modify the CString object. All these...
  3. Re: Changing the color of a static control (Win32)

    You're right.
    You got to figure out some magic to delete unused brushes.
  4. Re: Changing the color of a static control (Win32)

    You have to handle this as part of the WM_CTLCOLORSTATIC message.
    In the WM_COMMAND handler set a flag and invalidate the control.
    In the WM_CTLCOLORSTATIC handler check the flag and return the...
  5. Replies
    7
    Views
    1,282

    Re: A question regarding char*&

    A reference to a pointer can only be used if you're passing a pointer.
    s is where the actual memory is allocated.
    It is different from a pointer.
  6. Replies
    3
    Views
    696

    Re: Appending Unicode text?

    The BOM is not automatically created.
    You will have to write the it yourself at the begining of the file.
  7. Replies
    2
    Views
    362

    Re: array not working.

    You need to post more of your code.
    That declaration looks fine.
  8. Replies
    13
    Views
    639

    Re: Again pls help

    What is the delimiter for the codes?
    Is it a space?

    If so you can use the find and substr methods to extract each code from the input string and then use compare to search in the array.
  9. Replies
    2
    Views
    1,061

    Re: From USB Multimeter to Excel table

    You can use MFC to build the UI.

    You have to enumerate USB devices to identify your device.
    Look at the usbview sample in the Windows Driver Kit.

    Finally you need excel automation to output to...
  10. Replies
    2
    Views
    313

    Re: template function problem

    It is possible, even though your question is not very clear.

    The STL library is a template library and only consists of header files.
    STL contains template classes and well as global template...
  11. Replies
    13
    Views
    639

    Re: Again pls help

    I think you need to change the logic and use string::compare method to search for the string in the string array rather than search character by character.
  12. Thread: .h file

    by _Superman_
    Replies
    1
    Views
    504

    Re: .h file

    http://lmgtfy.com/?q=.h+file
  13. Replies
    1
    Views
    396

    Re: Window autocloses

    That is what happens when you run it from the IDE.
    How do you want the program to wait for?

    If you put getchar() before the return, it will wait till you press ENTER.
    If you pet _getch() before...
  14. Replies
    12
    Views
    1,663

    Re: Mouse control in Windows

    You can get the screen resolution using the function GetDeviceCaps with HORZRES and VERTRES
  15. Replies
    2
    Views
    497

    Re: PreOrder Binary Tree HELP!

    PreOrder and PostOrder and InOrder for that matter are used for traversing a tree and not while building it.

    How exactly do you want to arrange it when you mean PreOrder and PostOrder insertions?...
  16. Replies
    5
    Views
    681

    Re: Write files in memory

    Yes there is. :o
    Try and install one of these programs -
    Free Ramdisk for Windows Vista, XP, 2000 and 2003 Server
    How To Make a Windows XP RAM Disk Drive (for free)
  17. Replies
    5
    Views
    681

    Re: Write files in memory

    What do you mean by files in RAM?
    Memory usually had data and not files.
    Are you talking about a RAM drive?
    If so you definitely can use those functions on it.
  18. Re: Please give me some idea, to create a program look like this...

    What do you want to animate?
  19. Re: Please give me some idea, to create a program look like this...

    For box 1 you can use an edit control, but for box 2 you will need a richedit control.
  20. Replies
    1
    Views
    1,011

    Re: Page aligned alloc

    In Windows, you can do this using the GlobalAlloc and VirtualAlloc APIs.
  21. Replies
    3
    Views
    2,685

    Re: cout position

    If you're programming in Windows you can use SetConsoleCursorPosition to position the cursor before a cout.
  22. Replies
    4
    Views
    804

    Re: Virtual inheritance error

    This should not compile.

    You have not provided implementation for InterfaceA* clone() and InterfaceB* clone().
    And so ConcreteC is still an abstract class and is not instantiatable.
  23. Re: how to convert a string to integer with C++

    int in_year = atoi(ss.c_str());
  24. Re: Adding libraries to Win32 Console Application

    Type in the name of the .lib file in Project Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies.

    Make sure the .lib file can be found in the search path.
    If the...
  25. Replies
    3
    Views
    6,349

    Re: Add New line to multiline textbox

    CString Buffer1 = _T("a little buffer");
    CString Buffer2 = _T("another little buffer");

    CString Buffer3 += _T("\r\n");
    Buffer3 += Buffer2;

    SetDlgItemText(hWnd, TXT1, Buffer3);
Results 1 to 25 of 446
Page 1 of 18 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center