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

Search:

Type: Posts; User: arthur_shen

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: A problem about "Event Notification Application"

    Since my code is developed on VC++ 6 platform, and the os is WinXP SP2, :D
  2. A problem about "Event Notification Application"

    While running my application software, sometimes the system will pop up a system dialog. The title of the dialog is "Event Notification Application", while the information below on the dialog is...
  3. Re: About the deadlock in WinXP(SP2) while calling FlushFileBuffers()

    Isn't there anybody here that knows how to deal with it? It is very urgent, and I can't wait for knowing what is the real reason. Anyboday who knows about it please tell me. Thank you in advance!
  4. Re: About the deadlock in WinXP(SP2) while calling FlushFileBuffers()

    From the description of the formal bugs of Win2000, I can not see any differences from the phenomenon. I have traced my operations by writing corresponding log in a certain file, and it stops just at...
  5. About the deadlock in WinXP(SP2) while calling FlushFileBuffers()

    I am developing a program based on Visual C++ 6.0 platform. And the os is WinXP+SP2. Now I found that sometimes when I am calling FlushFileBuffers() in my program, it will cause the system to run...
  6. Re: How to restart windows programmaticaly ?

    I have made a mistake, should be EWX_LOGOFF, not EWX_POWEROFF, :(
  7. Re: a question about displaying gray-scale image

    I have just found a small mistake of it, and is working on it to solve the problem, I will describe the problem for you, :)

    Since the source data is of type "short", so it is incorrect for "BYTE...
  8. Re: a question about displaying gray-scale image

    Thank you very much for the codes you have offered to me! I will modify my code as you have instructed. It is very glad to meet such a knowlegble and helpful person here, hope to learn a lot from you...
  9. Re: a question about displaying gray-scale image

    Thank you for your quick reply! I also realized the first two problems. For the first problem, I had thought the kind of situation that the image got is not in fixed size, so I have to allocate the...
  10. Re: How to restart windows programmaticaly ?

    if you just want to switch user and log on with another user, you can use
    ExitWindowsEx(EWX_POWEROFF|EWX_FORCE,0), but if you want to only restart windows, I don't know how to implement it,:(
  11. a question about displaying gray-scale image

    I want to show a gray-scale(12-bit data for each pixel ) image rapidly and occupy as less CPU time as possible, I used to implement it using the following codes, but it seems that it is of a little...
  12. Replies
    5
    Views
    1,521

    Re: a question about CTabCtrl

    I have found the macro you have mentioned in your reply, but I found that it just won't solve my problem, it can only manipulate the problem of separating tab items in flat style or not and enable...
  13. Replies
    5
    Views
    1,521

    Re: a question about CTabCtrl

    I am afraid that I have not make myself clearly understood. I have read your code, and I found that it seems that you delete the item that is of no use, but that is not what I want to implement. I...
  14. Replies
    5
    Views
    1,521

    a question about CTabCtrl

    I want to implement such a fucntion using CTabCtrl, which is to control the item of CTabCtrl to be enabled or disabled dynamically. I am afraid that it should be implemented using ownerdraw, but I...
  15. Replies
    1
    Views
    390

    About TreeCtrl

    I am working on a new TreeCtrl derived from standard CTreeCtrl class. I want to display the selected item with a different color from other items, and I implement it by overriding the OnPaint()...
  16. Replies
    6
    Views
    581

    Re: Help for diabling ALT+F4!

    Thank you very much!!!!!
  17. Replies
    6
    Views
    581

    Help for diabling ALT+F4!

    I want to disable the default shortcut key ALT+F4 which close the current window, I try to catch it in PretranslateMessage(), but I can catch any other key down event except ALT, Why does this...
  18. Re: How can I send out a message from a DLL?

    I have an idea to deal with it now, if we deliever a window handle to the DLL via some of a function defined in the implement file of it, then it will be able to use SendMessage() or PostMessage() to...
  19. Re: How can I send out a message from a DLL?

    I am using WM_USER+X to define my own message, the focus is to know where to send the message, and the problem is the class that send the message is not a CWnd class, so that I can not use...
  20. Re: How can I send out a message from a DLL?

    I am afraid that postmessage() won't work since I have to offer a handle of window that corresponds the message while I won't have any idea of it. PostThreadMessage() seems to work, but I have to try...
  21. How can I send out a message from a DLL?

    I have a dll programmed by myself and the exported class is not a class derived from CWnd. What I want to implement is to send a self-defined message to the main program that uses the dll, how can I...
  22. Thread: help

    by arthur_shen
    Replies
    3
    Views
    375

    help

    Can anybody here tell me how I can get the CPU load and memory load information, just as the one shown in the task manager in Windows2000? Thanks!
  23. Could anybody tell me why?Thanks in advance

    I am working on accomplishing such a function as to draw a bitmap (the bitmap must be produced by myself, the data of the bitmap is retrieved from a file) on a radio button, I use the following...
  24. Replies
    3
    Views
    1,292

    Re: A Problem concerned with CSpinButtonCtrl

    Thanks a lot. I haven't tried yet, but judged from the code, it looks worked. Thank you!I will try it at once.:)
  25. Replies
    3
    Views
    1,292

    A Problem concerned with CSpinButtonCtrl

    I am trying to implement a special Spin control which can make its buddy control to display different types of number, for example, both integer and float,while the neighbour number are not...
Results 1 to 25 of 50
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)