Click here to Skip to main content
15,922,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: move and resize activeX control at runtime Pin
Ryan Binns11-Jul-04 18:13
Ryan Binns11-Jul-04 18:13 
General830421 - PostMessage problem Pin
ilostmyid211-Jul-04 3:36
professionalilostmyid211-Jul-04 3:36 
GeneralRe: 830421 - PostMessage problem Pin
peterchen11-Jul-04 4:34
peterchen11-Jul-04 4:34 
GeneralRe: 830421 - PostMessage problem Pin
Michael Dunn11-Jul-04 6:44
sitebuilderMichael Dunn11-Jul-04 6:44 
GeneralRe: 830421 - PostMessage problem Pin
Gary R. Wheeler11-Jul-04 14:04
Gary R. Wheeler11-Jul-04 14:04 
GeneralRe: 830421 - PostMessage problem Pin
Ryan Binns11-Jul-04 18:16
Ryan Binns11-Jul-04 18:16 
GeneralRe: 830421 - PostMessage problem Pin
Michael Dunn11-Jul-04 19:50
sitebuilderMichael Dunn11-Jul-04 19:50 
GeneralTray Icon Messaging in Dialog based MFC Bot Pin
kJeromek11-Jul-04 2:40
kJeromek11-Jul-04 2:40 
I have been developing spidering applications following Pallman's book "Bots, Spiders and Intelligent Agents in Microsoft Visual C++" (Microsoft Press 1999) and have a persistent problem with messaging from tray icon once the onok event is triggered.

Ideally, once the robot has launched with onok, I'd like to be able to pause it or change its parameters by clicking on the status bar icon. Pallman's bots do this, but using the same code (but different Visual Studio version), mine don't. After I put the icon in the tray and before onok, clicking on the icon brings up the context menu but once onok is clicked, the tooltip message displays but there is no response to other mouse activity over the icon. The same problem with the minimized window in the task bar. If I click on task bar icon, it responds by highlighting but the main window is not repainted.

The project is developed in Visual Studio 2003 in C++ as a Dialog based MFC application (as Pallman instructs in his book) running under W2K. Some have suggested doing these as SDI or MDI projects but I'd like to defer that learning curve as the bots I have work fine but for this (significant) problem.

Suggestions?
GeneralRe: Tray Icon Messaging in Dialog based MFC Bot Pin
ThatsAlok11-Jul-04 3:12
ThatsAlok11-Jul-04 3:12 
GeneralRe: Tray Icon Messaging in Dialog based MFC Bot Pin
JeromeKJerome11-Jul-04 4:43
JeromeKJerome11-Jul-04 4:43 
GeneralRe: Tray Icon Messaging in Dialog based MFC Bot Pin
Ryan Binns11-Jul-04 18:19
Ryan Binns11-Jul-04 18:19 
QuestionHow can I get a Text where mouse cursor is placed? Pin
zeki yugnak11-Jul-04 2:09
zeki yugnak11-Jul-04 2:09 
AnswerRe: How can I get a Text where mouse cursor is placed? Pin
bikram singh11-Jul-04 4:01
bikram singh11-Jul-04 4:01 
AnswerRe: How can I get a Text where mouse cursor is placed? Pin
Michael Dunn11-Jul-04 6:47
sitebuilderMichael Dunn11-Jul-04 6:47 
GeneralRe: How can I get a Text where mouse cursor is placed? Pin
zeki yugnak11-Jul-04 13:41
zeki yugnak11-Jul-04 13:41 
AnswerRe: How can I get a Text where mouse cursor is placed? Pin
Jose Cezar S. Ynion11-Jul-04 23:35
Jose Cezar S. Ynion11-Jul-04 23:35 
GeneralRe: How can I get a Text where mouse cursor is placed? Pin
zeki yugnak12-Jul-04 9:10
zeki yugnak12-Jul-04 9:10 
Questionhow to got the id of motherborad or cpu.. Pin
chedly_ensi11-Jul-04 0:45
chedly_ensi11-Jul-04 0:45 
Generalsound card direct access Pin
X204011-Jul-04 0:43
X204011-Jul-04 0:43 
GeneralRe: sound card direct access Pin
erkanina11-Jul-04 21:02
erkanina11-Jul-04 21:02 
GeneralRe: sound card direct access Pin
X204012-Jul-04 9:31
X204012-Jul-04 9:31 
Generalquery data between dates Pin
Anonymous11-Jul-04 0:30
Anonymous11-Jul-04 0:30 
GeneralLoading a DLL and HEAP problem Pin
Alex H 198310-Jul-04 23:20
Alex H 198310-Jul-04 23:20 
GeneralRe: Loading a DLL and HEAP problem Pin
bikram singh11-Jul-04 0:16
bikram singh11-Jul-04 0:16 
GeneralRe: Loading a DLL and HEAP problem Pin
Alex H 198311-Jul-04 0:20
Alex H 198311-Jul-04 0:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.