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

Search:

Type: Posts; User: Andonic

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    691

    Re: From diskdrive to logicaldrive

    Hello again,

    I have already solved the problem, it seems that the DeviceID you have to use it's not exactly the same that you have obteined from the SELECT-statement.

    The DeviceID you have...
  2. Replies
    1
    Views
    691

    From diskdrive to logicaldrive

    hello everyone,

    I'm using WMI to get information about the harddisks installed on my system.
    To do that i have used WMI-Select statement and then i have queried it.




    HRESULT hr;...
  3. Replies
    2
    Views
    3,440

    Re: Direct Show RenderFile(): Protection Error

    I have uninstalled Nero 7 and now it works. It seems that Nero installs filters with debug detect code, and without those filters you can debug. I hope this will help you.
    bye.
  4. Replies
    2
    Views
    3,440

    Re: Direct Show RenderFile(): Protection Error

    Hi, I have the same problem, and i haven't found a solution yet. However if you change the option Debugger Type which is located in Project->Properties->Configuration Properties->Debugging to...
  5. Replies
    9
    Views
    3,798

    Re: Cursor Position in Edit Control

    Maybe this helps:

    int pos1,pos2;
    m_editControl->GetSel(pos1,pos2); /// this returns the position of the caret in characters
    // After this you can get the string...
  6. Replies
    3
    Views
    783

    Re: Obtaining HBitmap from HDC

    Thanks a lot. I have added the Bitblt and the new HDC and finally i have obtained the HBITMAP for the CStatic::SetBitmap function, so the refresh works well.


    HBITMAP Asignar(CStatic...
  7. Replies
    3
    Views
    783

    Obtaining HBitmap from HDC

    Hello all,
    I'm trying to resize the image of a CStatic to the size of the CStatic itself, because usually the CStatic resizes automatically to the size of the picture, and I want just the opposite....
  8. Replies
    2
    Views
    553

    Re: Generating XML Document using VC++

    i hope this helps

    MSXML2::IXMLDOMDocumentPtr iXMLDoc;
    ... read the xml file into iXMLDoc ....
    iXMLDoc->save("newName.xml");

    to modify the text value of the nodes:
    ...
  9. Replies
    7
    Views
    2,150

    Re: Reading Xml File in VC++

    I hope this helps:

    includes:

    #include <msxml2.h>
    #include <comdef.h>
    #import <msxml4.dll>
    using namespace MSXML2;
  10. Replies
    2
    Views
    560

    Drawing into DC with Bitmap

    Hello everybody:

    I have done a function for painting in a DC with a bitmap as a pen.
    I don't know if this is very efficient. Is there any other way to do this?

    int Pintar(CDC * panel,RECT...
  11. Re: Help! How to send a CTRL+X key to another window?

    Hi All:

    I hope this can help
    Try this: (first of all you need the HWND of the window wich will receive the message, in this case ventana)

    HWND ventana;
    .....

    ...
  12. Replies
    5
    Views
    805

    Re: writing into parallel port

    hi,

    i have already probed it and the same result. The program hangs if i remove the instructions from getcommstate() to setcommstate() and if not error 87.

    I suppouse i will have to use some...
  13. Replies
    5
    Views
    805

    Re: writing into parallel port

    thanks a lot for reply so quickly.

    i have changed sixth parameter to 0, and the error with GetCommState persists(error number 87). In relation with the settings of parallel port , i found these...
  14. Replies
    5
    Views
    805

    writing into parallel port

    hi,

    i want to write into parallel port and i have done this. it doesn't work but i don't know why.
    Any idea?

    HANDLE hPuerto;
    DCB m_dcb;
    BOOL m_PuertoPreparado;
    ...
  15. Thread: HSI <-> RGB

    by Andonic
    Replies
    3
    Views
    1,644

    Hi: One thing more, this is the matemathical...

    Hi:
    One thing more, this is the matemathical description. Perhaps, it helps you:

    I = (1/3) *(R+G+B)
    S= 1 - ( (3/(R+G+B)) * min(R,G,B))
    H= cos^-1( ((1/2) * ((R-G) + (R - B))) / ((R-G)^2 +...
  16. Thread: HSI <-> RGB

    by Andonic
    Replies
    3
    Views
    1,644

    Hi: I have found this somewhere: // Program: ...

    Hi:
    I have found this somewhere:

    // Program: RGB <-> HSI conversion program
    // File: rgb2hsi.c / hsi2rgb.c
    // Description: Convert between RGB and HSI format
    // Author: Leiming...
  17. Thread: Drag an image

    by Andonic
    Replies
    1
    Views
    372

    Drag an image

    Hi!
    I have done a program in which an image is moved by dragging with the mouse, but it moves bad.
    Anybody has the code for moving by dragging an image?
    the code of the mousedragged event.
    thanks...
Results 1 to 17 of 17


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