TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Edwin Groothuis
date: 1995-03-31 12:16:00
subject: wait/busy pointer???

Hallo,

Strange things are going on here since I've discovered the art of PM
programming. Listen to this part of my sourcecode:

===
Hi! I'm a dialogbox which has to find an address in a database. Since
this is going to take some time, I've splitted myself in two pieces: The
dialogbox and the searchroutine. The searchroutine, which take appr. 15
seconds, is a second thread so the user can perform his or her duties
while I'm busy. To indicate that I'm busy I've loaded two pointers: The
first is the standard arrow-pointer, the second is the standard
wait-pointer. The important part of my DialogProc is listed here:

        case WM_MOUSEMOVE:
            WinSetPointer(HWND_DESKTOP,InThread==TRUE? hBusy:hNormal);
            return MRFROMSHORT(TRUE);

It works, but only for parts of me! I have an area with two listboxes,
two entryfield and two buttons. These parts have the normal
arrow-pointer, the other parts (without any resources) have the
wait-pointer. I don't believe this...
===

Can somebody help this poor dialogbox?

Edwin/2         (edwin{at}mavetju.iaehv.nl)
/\/\ /\ \/!

...`I take it the odds are against us and the situation is grim?' - Kirk
--- FNNR 18a+
* Origin: MavEtJu rules! (2:284/205.1)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 284/205 2 280/0 801 24/24 396/1 270/101 105/103 42 712/515 711/808 809
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.