|
Hello.
In my software ,i want to get the message from
the "messager"dialog which is displayed by the
"net send..."command line.But i can't got the way to catch "messager"
Do you know about it??
Tell me more ,thanks~!
|
|
|
|
|
Windows' Messenger service uses port 139 by default. If you monitor that port, you should get the results you desire.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Thanks a lot~~~!!!!
139~~let me see...
I just wanna be free, free like the wind
|
|
|
|
|
like it winamp, winmediaplayer or realoneplayer.
thanks
Nho'c Ti`
|
|
|
|
|
Hi
Is there a way for me to open an instance of notepad programmatically using VC++ 6? I've tried system("Notepad <filename>") but it also open a DOS prompt along with Notepad, which is not what I want. Is there any other way to do this? BTW, I also want my app to still be responsive to user input while the notepad is open.
Thanks!
|
|
|
|
|
|
Hello,
When I add a Rich Edit 2.0 box to my FormView, my app crashes upon executing. Basically, if fails the pWnd->Create() function. When I delete the Rich Edit 2.0 from the FormView, everything works again. I saw in documentation that there needs to be a call to AfxInitRichEdit() prior to this. I call it in my applications InitInstance() function and again later, but to no avail. Does anyone have any ideas?
thanks,
JennyP
|
|
|
|
|
Hi, I'm Javier. I'm developing a pocketPC 2003 application. I need to use Bitmap buttons in a dialog window. It's works, but the problem is the button is "down" and "up" quickly when I push and hold, and the event happens. I need that button doesn't released(remain down) until I release the stylus and then must happen the "button click event" and "bitmap button" up.
How can I do this? Must I create a derivate Cbitmapbutton class and manage messages?
Have Anyone any class about this?
I dont know very much about managing messages (I'm novice in this). I have seen the button articles in this web and I have found only one for PocketPC and it uses icons.
Thank you.
|
|
|
|
|
I imagine it is fairly easy, but how can I have my program create a folder ( plain and simple). I want to create a folder that my program can put text documents in.
David
|
|
|
|
|
CreateDirectory
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/createdirectory.asp
wWw.KruncherInc.cOm
|
|
|
|
|
I am trying to capture the event that happens on holding the stylus at a point on the screen i tried doing what i want to do in the handler of NM_RECOGNIZEGESTURE but that doesnt work. Any sugesstions.
|
|
|
|
|
Did you try WM_LBUTTONDOWN and WM_LBUTTONUP?
|
|
|
|
|
Hi,
I would like to ask why the loop ends when z becomes 8, why not when i or j becomes 10 or 2?
for( int i = 0, j = 10, z = 2; i < 10, j > 2, z < 8; i++, j--, z++ )
Regards,
-
When in doubt, push a pawn!
-
|
|
|
|
|
Obviously, a loop ends whenever one of the conditions is met.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
kromozom wrote:
i < 10, j > 2, z < 8
That should be i < 10 && j > 2 && z < 8
--
I'm Michael Dunn and I approve this post.
Vote Trogdor in oh-four!
|
|
|
|
|
Unless you've got some peculiarly abstract legacy code you're trying to work over, I'm guessing this is a homework question.
Hint: Look up the syntax of for loops in your notes, and ask yourself what those commas are doing there - as another post points out, the proper syntax would be "(i < 10) && (j > 2) && (z < 8)" or "(i < 10) || (j > 2) || (z < 8)"
--
Help me! I'm turning into a grapefruit!
Phoenix Paint - back from DPaint's ashes!
|
|
|
|
|
First of all thanks all who have replied to my question.
For Mr. Graus, whether I make the code
for( int i = 0, j = 3, z = 2; i < 10, j > 2, z < 8; i++, j--, z++ )
Condition still ends when z is 8.
Thanks Dunn and benjmous for the && then you mean my implementation is wrong, right? There should be some logical operators rather than commas?
Regards,
-
When in doubt, push a pawn!
-
|
|
|
|
|
Could anyone give me a suggestion how to break the mpeg file on several mpeg files.
Thanks in advance.
|
|
|
|
|
I have some multiple dialogs and i have to exchange data form one to another. One solution that i think of is to save the data in the registry. Is there another way to do it ?
Thanks
|
|
|
|
|
You could use a property sheet with each dialog being a property page. Or, you could derive each dialog from a base class and put the shared data in the base class.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
to add to what David Crow wrote, are the dialogs part of the same application?
I suggest that you either put the shared data in a class that both dialog can either share or have access to.
putting data in the registry is a REALLY, REALLY bad idea if I understand correctly your problem.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
register a message:
RegisterWindowMessage
then:
SendMessage with the first param HWND_BROADCAST and the second param return value from RegisterWindowMessage
and in your windows check for that message in your main message loop
and also check out
http://www.flounder.com/messages.htm
wWw.KruncherInc.cOm
|
|
|
|
|
Thanks all you guys ... i think i'll go with the last suggestion ... thanks
|
|
|
|
|
Hello,
Device: Pocket PC 2003
evc 4.0
Windows 2000 Pro.
I'm using sockets to connect to and FTP Server.
1) I'm able to send UserName, Password, etc.
2) I'm able to send a file to the server (while socket is open).
3) As soon as the socket is closed the file disappears!
I don't know what is going on, does anyone have an idea?
Thanks
|
|
|
|
|
I am searching for a database that contains simple functions written C/C++. I would like to add or edit these simple functions for my projects ( embedded).
For example I am searching for a simple function that converts hex to binary another that performs memory writes/ Reads for embedded projects I do not have time to create these simple functions I must dedicate my time to more important part of the project. I am a novice embedded programmer. I am currently building my software tool box.
|
|
|
|