Probleme mit Threads in verbindung mit Ballonmitteilungen
-
Hallo,
ich lass in meinem Programm Ballonmitteilungen in der Traybar anzeigen. Funktioniert auch gut, doch sobald ich die Funktion aus einem thread heraus aufrufe ist das Programm nciht mehr ansprechbar, erst wen das Thread unterbrochen wird (MessageBox)
ich habe mit ausprobieren herausgefunden welche Funktion das verursacht._ToolTipCtrl.Create( this, // the ToolTip control's style TTS_NOPREFIX | // prevents the system from stripping the ampersand (&) // character from a string TTS_BALLOON //| // the ToolTip control has the appearance of // 0x40 // a cartoon "balloon," with rounded corners // and a stem pointing to the item. TTS_ALWAYSTIP // the ToolTip will appear when the // cursor is on a tool, regardless of // whether the ToolTip control's owner // window is active or inactive );
diese funktion ist für das Problem verantwortlich. Weiss jemand wie ich das trotzdem zum laufen bringe?
mfg
-
Hast du den Schnipsel von Codeproject ? Hatte das Problem auch schon,
mich aber nicht weiter darum gekümmert. Konnte meine Anwendung meist
nach dem Minimieren nicht wieder zurückholen. Aber der Minimierbutton
ist am Ende doch gewichen, also wars egal
-
ja hab ich von dort. naja ich kann das programm danach nicht mehr steuern. aber wen das thread eben unterbrochen wird geht es.
-
weiss niemand wie ich das lösen könnte?
-
schade