Hello everyone: I want to drag a self-customaze stuct from a edit of A dll, and Drop the struct to a edit of B dll. Please help me how to do? Thanks. -Freehawk
freehawk
Posts
-
How to drag a customaze struct and drop? -
How to know when the dialog is activated?Hello everyone. I have a dialog attached in a frame, the propery of dialog is "child", in the dialog there are some edit boxs, comboboxs and buttons. When these controls in dialog got focus, I want to catch the active event. I tried to add WM_ACTIVE to dialog, but it can not be called. How to know when the dialog is activated? Thanks. -Freehawk
-
About CEdit::LineLengthHello everyone: I program code in Japanese OS. And I found that CEdit::LineLength() can not return total bytes of one line. The function returns total character number of one line. Example: 1. "1234日本90" --->>> LineLength -> 8 2. "1234567890" --->>> LineLength -> 10 About Example 1, it should return 10 but the result is 8. Is it right? or I need to set up something? Thanks. -Freehawk
-
Can I get where cursor placed in vscroll?Hello. Is it possible to know the place where cursor is placed in vscroll from WM_NCLBUTTONDOWN. Thanks. -Freehawk
-
How to get WM_VCSROLL ?Hello everyone: I have a tree window, before scroll to the last line, I want to delete the tree and re-install it, and then scroll. For to do it, I want to get WM_VCSROLL before OnVScroll() is called. 1.I tryed to get the msg in PreTranslateMessage, but WM_VSCROLL is not sent into the function. 2.I tryed to get the msg in WinProc, but I cannot. How to get it? Thank you. -Freehawk
-
Hello, How to Get WM_VSCROLL?Hello everyone: I have a tree window, before scroll to the last line, I want to delete the tree and re-install it, and then scroll. For to do it, I want to get WM_VCSROLL before OnVScroll() is called. 1.I tryed to get the msg in PreTranslateMessage, but WM_VSCROLL is not sent into the function. 2.I tryed to get the msg in WinProc, but I cannot. How to get it? Thank you. -Freehawk
-
How to get WM_VSCROLL?In fact I want to handle something before WM_VSCROLL happens. I dont know how to catch. -Freehawk
-
How to get WM_VSCROLL?Hello everyone I have a window with two scrolls, and I want to get WM_VSCROLL in function "PreTranslateMessage(MSG* pMsg) ". Though I add "case WM_VSCROLL:" to soource code, but I can not get it. Because the message does not come into "PreTranslateMessage(MSG* pMsg)". How to get it? Thanks. -Freehawk
-
what is the difference between strcpy and lstrcpy?Thank you very much. It gave me a clear imagine. -Freehawk
-
what is the difference between strcpy and lstrcpy?Hello everyone what is the difference between strcpy and lstrcpy? Thanks. -Freehawk
-
Are there any functions fast than sccanf, sprintf, strlen?Hello everyone: Are there any functions fast than sccanf, sprintf, strlen? Thanks. -Freehawk
-
What is the defference about _T("abc") and "abc"?Hello everyone What is the defference about _T("abc") and "abc"? Thank you. -Freehawk
-
Can I post a message to a dll from a dll?Thank you for the reply. Do you tell more details about PostThreadMessage or any source codes? -Freehawk
-
How to get back color of a dialog?Hi I did as the following: GetSysColor (COLOR_3DFACE) I hope it can be useful for you. -Freehawk
-
How to get back color of a dialog?Thank you for the reply. I called GetSysColor(); It run good. -Freehawk
-
How to get back color of a dialog?Hello everyone: How to get back color of a dialog? Please help me. Thank you. -Freehawk
-
Please help me. how to attach a dialog to a view?Hello everyone. I want to attach a dialog to display as a view. How to do it? Please help me. Thank you. -Freehawk
-
Can I post a message to a dll from a dll?hi, I want to post a message to dll. in the dll there is not window or dialog. -Freehawk
-
Can I post a message to a dll from a dll?Hi. I want to use the function "PostMessage" to post a message to a dll from other dll. But I dont know whether it can be realized. -Freehawk
-
Can I post a message to a dll from a dll?Hello everyone: Can a message be posted to a dll from other dll? If it can be realized, how to receive and handle it? Pls help me. Thank you. -Freehawk