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

Search:

Type: Posts; User: sdherzo

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    633

    Re: drawing a bar in realtime

    hi !

    thanks for the reply ... the first one looks like a solution i am looking for.
    The procedure is then just to download the source files & then try to insert it in the correct place in my...
  2. Replies
    3
    Views
    633

    drawing a bar in realtime

    hi!

    I have a Visual c++ code which gives calculates some values in a message handler & gives me out the current values about 50 times in a second. This value, i would like to display in the form...
  3. Replies
    18
    Views
    2,194

    Re: Assertion error

    it not just u sma ! even i was offline after getting the replies ;-)

    Anyway it is solved now ! and the soulution is ... the soultion of JohnE!

    I am now openin & closing in the message handler !...
  4. Replies
    18
    Views
    2,194

    Re: Assertion error

    you are right ! i could open & close it on pressin the key ... but is it ok if i keep openin & closing it ... ?
  5. Replies
    18
    Views
    2,194

    Re: Assertion error

    hm ... i should prob. close it out of the "wm_keydown"
  6. Replies
    18
    Views
    2,194

    Re: Assertion error

    @ zerver i opend it after the variable declarations ... in the beginning of the code i posted ...

    [edit] ... ok u found it ;-) ... what would u suggest ?? where to close it ?? i am writing only on...
  7. Replies
    18
    Views
    2,194

    Re: Assertion error

    thanks sma :-)

    so here goes ...

    [edit]

    code deleted ...
  8. Replies
    18
    Views
    2,194

    Re: Assertion error

    hi paul ! what is a call stack ??

    could i post my code here so that u could have a look ?
  9. Replies
    18
    Views
    2,194

    Assertion error

    hi!

    After my program runs for about a minute the DEBUGGER of visual studio 2005 decides to give me an error -

    "debug assertion failed"

    Programme : ...
    File: fprintf.c

    Expression : ( str...
  10. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    ya :-) it could have saved me a lot of nerves over the cpl of days ... but looking at the "summer" outside, just as well that i sat down with this ;-)
  11. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    so guys ! thanks for the help the last cpl of days :-) like i thought it was a small thing :: i hadnt delcared dref,dn as static. I now declared them as staic and it works ;-)
    Reg.
  12. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    it is getting compiled ... But in order to test it with values u prob need my A/D converter ;-) ...
  13. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    >> Does your screen update at all? If the value of d0 changes, do you see any changes on the screen?

    Yes with out the keypress my code works fine. do gets calculated per second about 20 times & i...
  14. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    so prob. after WM_KEYDOWN ??
  15. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    u mean just type InvalidateRect(hWnd, NULL, TRUE); after the case WM_PAINT ???
  16. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    thanks guys ! i will try them out & get back to u guys !
  17. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    #edit#
  18. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    also no effect ... do i need to declare / write something more in my keydown message case ??
  19. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    i mean that inspite of pressing the key, "dn" keeps printing the samne stuff. i.e it considers dref still to be 0 & not equal to d0,as written in the keydown case
  20. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    hi Z ,

    yes it gets called ... i treid out the following & count kept increasing everytime i pressed "a". So thats not a problem :(

    if (wParam == 'A')

    { count =...
  21. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    i have a break ... just didnt post it here as i just wanted to post the important part of the code ;-) The problem lies inside my WM_KEYDOWN i think
  22. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    hm .. i am doing something wrong i teh message handler ... i tried the method suggested by u & set d = d0- dref & set dref initially to 0 & put dref = d0 in the KEYDOWN message habndler ... still...
  23. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    thx ! i will try it !
  24. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    thanks i will try there. but isnt this the "WM_KEYDOWN" from msdn ?? i was just not sure what has to be written inside the Keydown ... i have called it from my winmessagehandler ...
  25. Replies
    39
    Views
    3,611

    Re: action on pressing a key

    still not working ... does anyone have an idea ??

    my prob again ::

    Now i am giving out "d0" continuously on the screen. At a certain point i would like to save a particular value of d0 as my...
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)