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

Search:

Type: Posts; User: endemoniada

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    169

    GetOpenFileName() Positioning Problem

    Hi guys,

    When I call GetOpenFileName() it opens in the top-left corner for a split-second before appearing in the center of the screen.

    I tried different parameters for OPENFILENAME.hwndOwner...
  2. Re: FindNextFile() Looping and Backwards ?

    You guys are right, it's better to go with a filename array. It was pretty easy to implement and it's working great.

    Thanks.
  3. FindNextFile() Looping and Backwards ?

    Hi guys, I'm using FindFirstFile() and FindNextFile() to go through all the files in a directory, I want to be able to go backwards and also loop at the beginning and end, like this:

    001.txt...
  4. Replies
    7
    Views
    578

    Re: WM_INPUT Failing to Detect Arrow Keys

    It's working like a charm now. You guys are so smart, thanks a lot.
  5. Replies
    7
    Views
    578

    Re: WM_INPUT Failing to Detect Arrow Keys

    Thanks for trying to help, here is a mini-program:



    void OnInput(LPARAM lParam)
    {
    UINT dwSize;

    GetRawInputData((HRAWINPUT)lParam,RID_INPUT,NULL,&dwSize,sizeof(RAWINPUTHEADER));
  6. Replies
    7
    Views
    578

    WM_INPUT Failing to Detect Arrow Keys

    Hi guys,

    I'm not getting the response I expect from WM_INPUT detecting the arrow keys:



    #define key_right 0x27

    USHORT key=raw->data.keyboard.VKey;
  7. Replies
    2
    Views
    5,191

    Width and Height from HBITMAP ?

    Hi guys,

    If I get a bitmap from the clipboard with:

    hBitmap=(HBITMAP)GetClipboardData(CF_BITMAP);

    ...how do I get the width and height ? Can I get at the BITMAPINFO ?

    Thanks.
  8. Replies
    0
    Views
    291

    Clip Child Window ?

    Hi guys, is it possible to clip a child window. Let's say my child window is 400x400 pixels but I only want to show (say) the top left 100x100 pixels. I know I can just resize it but it's a Direct3D...
  9. Replies
    7
    Views
    698

    Re: Can't Stop Thread

    It seems like the more I think about thread synchronization the more I think just about everything needs to be protected.

    I have a custom window (made with CreateWindow) that I use like a...
  10. Replies
    7
    Views
    698

    Can't Stop Thread

    Hi guys, I can't stop my thread:



    void MyClass:start()
    DWORD dwThread;
    thread_flag=1;
    hThread=CreateThread(NULL,0,startThread,(LPVOID)this,0,&dwThread);
    }
  11. Extracting Stuff from an IHTMLDocument2 in C++ ?

    Hi guys,

    I got as far as getting a web page into an IHTMLDocument2 but I don't know what to do from there, all the examples I found are C# or .NET or something else I don't understand.

    Will...
  12. Replies
    6
    Views
    794

    Re: Dimensions of JPEG in Memory ?

    1) Exactly that, I don't want to write it to disk unless the width or height is a minimum of (say) 512 pixels.

    I'm not using a library because I planned on just writing the block of memory to...
  13. Replies
    6
    Views
    794

    Dimensions of JPEG in Memory ?

    Hi guys,

    I have a JPEG in memory as a char* and a bytesize, if I save it to disk with a .jpg extension it's a perfect JPEG file. The thing is, I don't want to save it unless it's a minimum...
  14. Replies
    2
    Views
    547

    My DIBs are 2 Bytes Short

    Hi guys,

    I noticed that my DIBs, both saved and copied to the clipboard, are 2 bytes short.



    DWORD dwSize=sizeof(BITMAPINFO)+height*span;
    HGLOBAL hGlobal=GlobalAlloc(GMEM_MOVEABLE,dwSize);...
  15. Replies
    4
    Views
    992

    Re: VS2010 Compilation Warnings

    I would get a warning such as: "conversion from double to float, possible loos of data". I don't get that in VS2010.



    Yes, you are correct. The warnings were under Link so they wouldn't show up...
  16. Replies
    4
    Views
    992

    VS2010 Compilation Warnings

    Hello, using VS2010 I am not getting the compilation warnings I used to get with VS2008.

    For example:

    float x=1.0;

    ...would cause a warning in VS2008 because I didn't append an 'f' like so:...
  17. Replies
    1
    Views
    521

    Handling Fatal Errors in WM_CREATE

    Hi guys,

    I'm doing something like this:

    WM_CREATE:
    if(!initialize()){
    // fatal error
    // MessageBox(...);
    // here I should terminate the program
    }
Results 1 to 17 of 17


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center