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

Search:

Type: Posts; User: crasher

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. SOLVED Dialog : How to update an Edit Box?

    Thanks GCDEF and krmed, whereby krmed actually went to the trouble of posting how to UpdateWindow(). Actually, UpdateWindow() does nothing disecernible if entered verbatim - presumably it updates...
  2. Re: Dialog : How to update an Edit Box?

    I have an application which communicates with some measurement hardware, and I want to display the readings from that hardware, which consist of several digits. I do not need a sophisticated display...
  3. [RESOLVED] Dialog : How to update an Edit Box?

    VC++6.
    I have a simple Dialog app. There is one Edit Box, updated in a function triggered by a Button. In the function, the Edit Box's CString member variable is modified twice, firstly as "a",...
  4. Replies
    3
    Views
    2,571

    Re: Game Launcher Help

    You have coherently defined a project in general terms. You could implement this in many programming languages on a variety of platforms. If you use Visual C++, and you come across a problem whilst...
  5. Replies
    3
    Views
    423

    Re: Need help on an array :(

    OK, as you wrote, the first line in the file is some sort of header with the city name & state; the rest of the file consists of birdies and an index or count.
    Seems to me that it would make most...
  6. Replies
    4
    Views
    551

    Re: Dialog Edit Box Access

    Sounds cool Cilu.
    But from where do I get the pointer to the dialog? Or the handle to the window? Could you recommend a sample project which does either of these? I have tried to implement various...
  7. Replies
    4
    Views
    551

    Re: Dialog Edit Box Access

    That's the problem, VictorN: writing to an Edit Box, whether it's a CString or a control member, work fine from within the Dialog, i.e in *Dlg.cpp . But the various modules in different cpp files,...
  8. Replies
    4
    Views
    551

    Dialog Edit Box Access

    I created a Dialog-based MFC app. The dialog boilerplate is used to manually start USB controlled hardware functions, which usually execute repeatedly, with various hardware parameters being changed...
  9. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    Yes, SkynetTo, you're right. Arjay (thanks 2!) had already made that clear earlier, but I 'd already gone into frustration/desperation mode. Thanks for pointing out my stupid mistake.
    You too were...
  10. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    Thanks again Arjay.
    I made a few small changes to your project, in order to access a CListBox which I added to the dialog. I commented all the changes ( I hope) with //**crasher.
    I get an assertion...
  11. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    Thanks Arjay. I appreciate your efforts and time spent. You have created a Doc/View project in Visual Studio 2005, which successfully permits writing of data from Doc/View to a dialog called from a...
  12. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    GCDEF, yes , thanks for the reminder. And I did notice that nice row of medals you've got there. Now, what about a suggestion, or is putting a usable listbox in a dialog called from a menu entry in a...
  13. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    D_Drmmr:
    You seem not to have read the posts.

    This is a doc/view app. The app reads in a few Mb from various data files (1 to many), and converts and displays the data. The user must be given...
  14. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    I should add that I want to access the ListBox from the Doc: that's where the data is.
    I'll also repeat the point: I can write to the EditBox in the dialog from a Doc function, but attempting to...
  15. Replies
    16
    Views
    1,809

    Re: What is this file?

    Can you post the file? Or where can I find it? Maybe once I can look at it I might be able to help.
  16. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    Thanks for reply, bhushan.
    The Dialog class has a DDX entry for the ListBox (c_list):
    void CDlg::DoDataExchange(CDataExchange* pDX)
    {
    CDialog::DoDataExchange(pDX);
    //{{AFX_DATA_MAP(CDlg)...
  17. Replies
    22
    Views
    3,264

    Re: CDialog:ListBox in Doc/View

    Debug assertion failure message shows:

    File: afxwin2.inl
    Line: 669

    In the .inl file at Line 668/669 is:
    [668] _AFXWIN_INLINE int CListBox::AddString(LPCTSTR lpszItem)
    [669] {...
  18. Replies
    22
    Views
    3,264

    [RESOLVED] CDialog:ListBox in Doc/View

    Instantiating a dialog in a Doc function, I can update an Edit box in the dialog, but when I try to use AddString on a Listbox (using "simple text"), I get an Assertion Failure.
    Using VC++6; to...
  19. Replies
    2
    Views
    466

    Monitor data in the View

    I am making physical measurements using hardware controlled from a Doc/View based project. The hardware can return several numeric results per second, continuously.
    I want to run a series of tests,...
  20. How to include my own function source code?

    Presently I copy the .h and .cpp files containing general purpose functions into each project directory, and everything compiles and links nicely. However, if I try to #include the .h file when it...
  21. [CLOSED] Re: How to inhibit OnDraw on startup?

    Thanks for the reply, VladimirF.
    No, GetPathName returns NULL until OnOpenDocument finishes.
    Thanks for your trouble. I'll use my solution. It's only some code to control temperature in a nuclear...
  22. Re: How to inhibit OnDraw on startup?

    Thanks, but IsModified doesn't help, because at startup, i.e. when the View is first displayed, no document has been loaded, but the App Window is created and drawn. "IsModified" doesn't seem to be...
  23. [RESOLVED] How to inhibit OnDraw on startup?

    I have a standard wizard - generated SDI, which imports data via OnOpenDocument. I want to view this processed data, and can do so quite happily in the View. Trouble is, when the SDI App first...
  24. Re: Dialog: Arrow keys and Spin control

    I simply added a Spin control, and the class wizard created the following function:

    ::OnDeltaposNextPrevMeas(NMHDR* pNMHDR, LRESULT* pResult)

    This uses _NM_UPDOWN, part of Windows Common...
  25. Re: Dialog: Arrow keys and Spin control

    The user can scroll through the data by means of the ARROWS on the SPIN control in the Dialog. I want to assign the LEFT ARROW and RIGHT ARROW keys such that when they are pressed on the keyboard,...
Results 1 to 25 of 63
Page 1 of 3 1 2 3


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