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

Search:

Type: Posts; User: Medic1de

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,540

    Re: JSON Serialization

    Oh yeah, I tried that too, but due to silverlight for WP7 using a stripped version of .NET 3.5, .ReadtoEnd() isn't a method in the WebResponse class. Theres only basic stuff like read (which needs a...
  2. Replies
    6
    Views
    3,540

    Re: JSON Serialization

    Sorry its taken me a while to get back to you, had a busy weekend.
    Anyway, I cant seem to figure out how to look at the stream content. VS has no intellisense that shows it content, at least not...
  3. Replies
    6
    Views
    3,540

    Re: JSON Serialization

    Well, the server has been built by somebody else, its basically been provided for me to access. I have no control over it, or how the information is sent. So I am to assume its 100% correct. And i...
  4. Replies
    6
    Views
    3,540

    JSON Serialization

    Hey,
    Im building a mobile application in silverlight, so im using a stripped version of .NET 3.5 and VS 2010. Basically, i just make a HTTP request to a server that returns the details about the...
  5. Replies
    3
    Views
    931

    Re: Click and hold/drag

    Thanks for your reply, sorry its taken me so long to get back to you on this.

    Im kinda rubbish with c++, but .net especially. Im not too sure how WM_MOUSEMOVE works. Say you wanted to just click...
  6. Replies
    3
    Views
    931

    Click and hold/drag

    Hey everyone.
    So i have a grid in my program that i want the user to be able to click and drag items around.
    Im using the CALLBACK WindowProc to handle my mouseclicks at the moment, but that can...
  7. Replies
    10
    Views
    1,925

    Re: Multiple window mouse handling

    Wow, yeah, it really was that simple. Cant believe i didn't think of it. Dont have my programming hat on today. Anyway, that pretty much exactly what i needed, so thanks to Paul, and everyone else....
  8. Replies
    10
    Views
    1,925

    Re: Multiple window mouse handling

    Well, i cant seem to find anything on how to retrieve the window details from the window handler. Im sure its possible, as V already pointed out, but i dont really know how to do it. My .NET C++...
  9. Replies
    10
    Views
    1,925

    Re: Multiple window mouse handling

    Yeah, probably. As long as it works. But i have no experience with it at all. Any reading you know of?
  10. Replies
    10
    Views
    1,925

    Re: Multiple window mouse handling

    Well, i figured that could be used somehow, but im not really sure how to use it/how it works. I thought of using a hWND member function or something, but none existed and i couldn't find any reading...
  11. Replies
    10
    Views
    1,925

    Multiple window mouse handling

    Hey everyone,
    So i've got a single windowed program, and im introducing a second window because im adding some extra content, and i want to handle the mouse click event differently depending on...
  12. Replies
    7
    Views
    4,644

    Re: Textures not loading correctly?

    Well as i say, this isn't MY code, i just copied it straight from a textures tutorial i found (www.videotutorialsrock.com/opengl_tutorial/textures/home.php), and rigged it up with my project, due to...
  13. Replies
    7
    Views
    4,644

    Re: Textures not loading correctly?

    Hey everyone!
    I've got an update on this, but essentially still the same problem. Kinda hoping somebody may be able to give some more insight. I've implemented a new texture loading method based off...
  14. Replies
    7
    Views
    4,644

    Re: Textures not loading correctly?

    Swapped it to 64*128, but still no luck. Also tried 128*256. Same result. Any other ideas?
    Thanks,
    -M
  15. Replies
    7
    Views
    4,644

    Re: Textures not loading correctly?

    The piano texture is 200*300, and 24 bit colour.
    The background texture is 1400*900 and 24 bit colour.
    Thanks,
    -M
  16. Replies
    7
    Views
    4,644

    Textures not loading correctly?

    Hey everyone.
    I've posted this same thread in the graphics sections, but recieved no replies thus far, so I thought i would repost it here in hope of more luck. If that against the rules for...
  17. Replies
    0
    Views
    849

    Textures not loading correctly?

    Hey everyone.
    Im basically doing some drawing using textures. I have this method that is used to load openGL textures from bitmap resources in my project:


    void LoadGLTextures()
    {
    // Bitmap...
  18. Replies
    14
    Views
    1,832

    Re: Creating a new window

    Philip, you are an absolute life saver! Thats pretty much exactly what I needed! Makes SO much more sense now :D Fantastic.
    So i've been fiddling the second window, and i've got the main window...
  19. Replies
    14
    Views
    1,832

    Re: Creating a new window

    First, let me wish you all a happy new year! Sorry its taken me so long to get back to you guys on this. What with the new year, i've been kinda busy.


    Adding that line of code as above makes the...
  20. Replies
    14
    Views
    1,832

    Re: Creating a new window

    Phillip, thank you very much! Your solution is proving very helpful!
    I feel showing you guys my WinMain in its brutal entirity may help the situation. Im looking for parallels between your code and...
  21. Replies
    14
    Views
    1,832

    Re: Creating a new window

    Thanks! I'll see if i can get that to work.
    Im still unsure as to how i solve the problem of the smaller window being stuck in place, doesn't close or minimize, and seems to stop the main window...
  22. Replies
    14
    Views
    1,832

    Re: Creating a new window

    Coming from a Java/C# background, combined withthe fact i dont know that much c++, and have no experience of C whatsoever, this makes the whole thing even more terrifying o.O

    If there is nothing...
  23. Replies
    14
    Views
    1,832

    Creating a new window

    Hey everyone :)
    So, i've got to do some additional work on this big, terrifying c++ application (well, its big for me), and with my mediocre at best c++ skills, im basically stumbling at the first...
  24. Replies
    5
    Views
    1,365

    Re: Save/load file windows

    You're a boss. Thanks so much. Thats pretty much exacxtly what i needed. So i've using adapted that a bit, and i've got another stupidly simple question thats giving me trouble.
    I've got this line...
  25. Replies
    5
    Views
    1,365

    Re: Save/load file windows

    Im not. So i did read up on GetSaveFileName before coming here, which lead me to:

    BOOL WINAPI GetSaveFileName(
    __inout LPOPENFILENAME lpofn
    );

    But this is gonna sound ridiculously noobie,...
Results 1 to 25 of 49
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured