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

Search:

Type: Posts; User: Hawkeye

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Template help

    by Hawkeye
    Replies
    6
    Views
    250

    Re: Template help

    I knew it was something simple that I forgot to include. Thank you very much again, and sorry for bugging you for such a simple matter. Thanks!
  2. Thread: Template help

    by Hawkeye
    Replies
    6
    Views
    250

    Re: Template help

    OOps, I forgot to include that VC++ was giving the error message

    "c:\program files\deitel\tarray.h(94) : error C2244: 'Array<T,elements>::==' : unable to resolve function overload"

    Hopefully...
  3. Thread: Template help

    by Hawkeye
    Replies
    6
    Views
    250

    Re: Template help

    Actually, I was just expanding upon class Array, and I came across another problem that I'm sure you know how to resolve. I was just coding some overloaded operators (namely operator==) to allow the...
  4. Thread: Template help

    by Hawkeye
    Replies
    6
    Views
    250

    Re: Template help

    Thank you very much, Igor! My code works perfectly now, thanks to you. Keep up the good work!
  5. Thread: Template help

    by Hawkeye
    Replies
    6
    Views
    250

    Template help

    I have made a class, Array, and in its simplest form, it is a template class that allows one to make an array of <class T> objects (e.g., array of ints, doubles, floats, chars, etc., whatever is...
  6. Replies
    2
    Views
    514

    Re: Copying data to the clipboard

    Thank you for your code, but maybe I should be more specific. I am more concerned about reading strings from a List Control. I am not sure how to approach this. I know CListCtrl has functions like...
  7. Replies
    2
    Views
    514

    Copying data to the clipboard

    How do I copy strings from a List Control onto the clipboard? I will need to copy at least 20 lines from the List Control. Is it possible to extract all these lines as one string and put it onto...
  8. Replies
    7
    Views
    321

    Re: Adding strings to ComboBoxes

    In order to add strings to a ComboBox, you first have to make sure that the ComboBox's size is set correctly. In order to do this, you have to click on the arrow of the ComboBox once the control is...
  9. Replies
    1
    Views
    512

    Converting ComboBox data to CStrings

    How do I extract the data in a ComboBox, saying using CComboBox::GetItemData() and convert the 32-bit value it returns (DWORD) into a CString that I can later on use/manipulate/etc.? I tried using...
  10. Replies
    7
    Views
    321

    Re: Adding strings to ComboBoxes

    Thank you VERY much! Now it's working....I knew I was probably overlooking the obvious. Thanks again.
  11. Replies
    7
    Views
    321

    Adding strings to ComboBoxes

    How do I add strings to a ComboBox during runtime? I have been using the CComboBox::AddString() function, but the strings do not show. This is also true for when I add strings to a ComboBox control...
  12. Setting control values when a dialog isnt visible

    Is it possible to set the values of a control, say a ComboBox, on a dialog that isn't visible? I believe I tried doing this before but I got an Assertion Failure error. If this is possible, how is...
  13. Replies
    2
    Views
    256

    Getting text from a List Control

    How do you copy all the data of a List Control (in this case, they are all CStrings) onto the clipboard? In my application, I would like all the data from a List Control be copied onto the clipboard...
  14. Replies
    3
    Views
    341

    Declaring global class instances

    While making my program, I decided that I want to make a dialog class that would pop up when a button is clicked, and then retain all of the values entered until the program exits. Where and how...
  15. Replies
    8
    Views
    440

    Re: Assertion Errors...help!

    Oh, sorry about that. Here is the source for the main dialog (TreeWizardDlg.cpp)...

    // TreeWizardDlg.cpp : implementation file
    //

    #include "stdafx.h"
    #include "TreeWizard.h"
    #include...
  16. Replies
    3
    Views
    946

    Re: LPTSTR and LPCTSTR and LPCSTR......

    Actually, just recently I thought the same thing...how do you guys know when to use this stuff?! Someone helped me in correcting some of my code where I had to typecast a string with...
  17. Replies
    8
    Views
    440

    Re: Assertion Errors...help!

    What do you mean by "add the .cpp file to the main dialog class?" I think the file strcore.cpp is an MFC file that is somehow automatically incorporated into all compiled applications. I just tried...
  18. Replies
    8
    Views
    440

    Re: Assertion Errors...help!

    I would be happy to include code to help you decipher the cause of the Assertion Failure, but there is so much code that I would not know what to include. There is no error or warning when I build...
  19. Replies
    8
    Views
    440

    Assertion Errors...help!

    I just made a new Dialog-based application, added controls, and merely declared variables for all my controls...I have not yet manually altered/edited/added any code to my application yet. When the...
  20. Replies
    5
    Views
    300

    Re: Dynamically Adding TreeCtrl Branches

    Thank you VERY much for your help!
  21. Replies
    5
    Views
    300

    Re: Dynamically Adding TreeCtrl Branches

    Thank you for your reply. I tired using the CString class when utilizing ::GetWindowText(...), and it worked fine, but my problem is that TVITEM.pszText does not accept CString classes as...
  22. Replies
    5
    Views
    300

    Dynamically Adding TreeCtrl Branches

    In my program, I have a TreeView control with three "parent branches" (I'm not sure what to call them). When the user presses the "Add" button, the a brach will be added to the TreeCtrl with the...
  23. Replies
    2
    Views
    2,077

    glReadPixels() Help!

    Hello, I am not familiar with OpenGL and its API, but I was wondering how I would go about using the function glReadPixels()? Yes, yes, I have looked at all of the declarations for it as MSDN, etc.,...
  24. Replies
    1
    Views
    252

    Should I use OpenGL instead?

    For quite a while already, I have been trying to make a program that reads in pixels from a game running in OpenGL. So far I have had no luck whatsoever reading pixels from the screen. For a...
  25. Replies
    8
    Views
    445

    Re: Sending key/mouse-strokes

    Thank you very much for your help, both of you!
Results 1 to 25 of 30
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center