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

Search:

Type: Posts; User: Wade

Page 1 of 10 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    8
    Views
    4,862

    Hello 0xC0000005, Thanks for the reply. Here...

    Hello 0xC0000005,

    Thanks for the reply. Here is some sample code that they are using to store the HGLOBAL in the database.


    try
    {
    bool bResult = true;

    CString strNm;
  2. Replies
    8
    Views
    4,862

    I apologize, I kind of made that sound confusing....

    I apologize, I kind of made that sound confusing. We use two different third party software packages. One of them was written for us by some Russian subcontractors, and is basically a database...
  3. Thread: Deleting a line

    by Wade
    Replies
    6
    Views
    815

    Hi Richie, This might sound kind of funny but...

    Hi Richie,

    This might sound kind of funny but the way to erase something drawn to the screen is to draw it again, but you have to set the ROP code.

    Here is a simple example.

    CPen penBlack;...
  4. Replies
    8
    Views
    4,862

    Thanks John, I tried that and it doesn't work....

    Thanks John,

    I tried that and it doesn't work.

    In the third party software, this is how they use the handle I give them.

    char* ptr = (char*)::GlobalLock(hBitmap);

    hBitmap is the HGLOBAL...
  5. Replies
    8
    Views
    4,862

    HBITMAP to HGLOBAL

    Hello all, I am working with third party software that stores bitmap handles as HGLOBAL's. So I am trying to figure out how to convert HBITMAP to HGLOBAL. Here is what I tried to no avail.

    ...
  6. Thread: Tracing a CRgn

    by Wade
    Replies
    1
    Views
    640

    Tracing a CRgn

    Hello,

    I am combining 2 regions using CRgn::CombineRgn and it is giving me a round rect type shape. I need to be able to trace around the border of this region with a dashed pen. Is there any...
  7. Replies
    8
    Views
    1,267

    hello - I am having this same problem with...

    hello - I am having this same problem with printing bitmaps, and would really appreciate any sample code or links to sample code for getting this to work.

    Thanks in advance,


    Wade
  8. Replies
    2
    Views
    696

    Thanks Eli, I will give that a try. Wade

    Thanks Eli, I will give that a try.

    Wade
  9. Replies
    2
    Views
    696

    resize bitmap programatically

    Hello - does anyone have some sample code for resizing a bitmap programatically? I do not want to use strchblt, because I don't want to change the size of the actual image. I only want to add more...
  10. Replies
    1
    Views
    602

    Database file merge

    Hello - If I had 2 Access database files, and I needed all of the information in those files merged in to 1, is there a utility available to do that? Or is there a simple way to merge them with...
  11. Thread: CView Information

    by Wade
    Replies
    1
    Views
    656

    CView Information

    Hello All - I have two different view classes that are derived from a base class view. Here is some sample code that I am using.



    CMainFrame* pMainFrame = (CMainFrame*)AfxGetMainWnd();...
  12. Replies
    1
    Views
    732

    MDI Document List (Window Menu)

    Hello - Does anyone know how to prevent open document names from showing up in the Window menu in an MDI application. For instance, I open 2 files one called test.txt and the other test2.txt. ...
  13. Thread: CButton Control

    by Wade
    Replies
    1
    Views
    745

    Re: CButton Control

    Where is the button in relation to the progress bar? Is the progress bar on a modal dialog?

    Wade
  14. Thread: ANSI + UNICODE

    by Wade
    Replies
    1
    Views
    698

    Re: ANSI + UNICODE

    We are having the same problem here. We just converted our application to be unicode compliant and we have CDynLinkLibrary memory leaks as well. Have you found a solution for this problem?


    ...
  15. Replies
    7
    Views
    652

    Re: How to enable buttons in my view ?

    The correct way to do this is to handle the OnSyncToDoc() message in your view. In OnSyncToDoc() you need to add your view to the document, and then this is where you will want to disable/enable...
  16. Replies
    1
    Views
    2,303

    CStatic - Group box

    Hello - Can someone please let me know which properies I need to use when creating my CStatic to make it a group box.

    Thanks in advance,


    Wade
  17. Thread: CView Flickers

    by Wade
    Replies
    6
    Views
    1,173

    Re: CView Flickers

    Excellent, I'm glad that worked for you.

    Happy coding,

    Wade
  18. Thread: CView Flickers

    by Wade
    Replies
    6
    Views
    1,173

    Re: CView Flickers

    Ok that leads me to my next question. Did you override OnSyncToDoc() and add the view to the doc? I'm just thinking that if you did, in other words, if the doc is trying to update that view and you...
  19. Thread: CView Flickers

    by Wade
    Replies
    6
    Views
    1,173

    Re: CView Flickers

    Are you doing an UpdateWindow() or Invalidate()at all in the view that is flickering?

    Wade
  20. Thread: Parallel Port

    by Wade
    Replies
    1
    Views
    502

    Parallel Port

    Does anyone know if there are API calls that will tell me if my parallel port is busy?

    Thanks for any info!

    Wade
  21. Replies
    10
    Views
    1,621

    Re: Full Screen X-hair Cursor

    Thanks a lot Serguei! I really appreciate all of your help. You can send it to WFlemmer@melco.com.


    Thanks again!

    Wade
  22. Replies
    10
    Views
    1,621

    Re: Full Screen X-hair Cursor

    I can't seem to find an example anywhere. I've searched MSDN, CodeProject and CodeGuru. I don't know maybe I'm not searching for the right words, but I can't find it. If you have some sample code...
  23. Replies
    10
    Views
    1,621

    Re: Full Screen X-hair Cursor

    >>You want cross-hair cursor to be drawn only in a window's client area, is it correct? <<

    Sorry, yes you are correct. A co-worker busted me for saying the same thing to him. Sorry for the...
  24. Replies
    10
    Views
    1,621

    Re: Full Screen X-hair Cursor

    I need to make a full screen cross-hair cursor, and the cross of the cross-hair needs to follow be the hotspot of the cursor. I hope that makes sense. Any help, or sample code for doing this would...
  25. Replies
    10
    Views
    1,621

    Re: Full Screen X-hair Cursor

    If anyone has sample code for doing this, I would really appreciate it. I have to do the same thing.

    Thanks in advance,

    Wade
Results 1 to 25 of 241
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured