Hello!
I use BCB 5 and Win98.
I wish to suspend or terminate a thread. I've found that thread
using Thread32First and Thread32Next routines. But how can I retrieve
the handle using ThreadID?
Thanks in advance.
Sincerely,
Petyo Milotinov
Hello!
I use windows 98 and BCB 5.
My program is password protected and resides in system tray. I wrote my own message handler for messages from the tray:
//in main.h
struct TWMTrayMessage //struct for WM_TRAYMESSAGE
{
Cardinal Msg; // first parameter is the message ID
WPARAM wParam...
Thanks for your support, dr. Lector!
I found the solution - I have taken away Borland's OnFormCloseQuery event and I have put everything in WndProc. Here is the code:
void __fastcall TMainForm::WndProc( TMessage &Msg)
{
switch ( Msg.Msg )
{
case WM_ENDSESSION:
if (...
Hello!
I use Windows 98 and BCB.
I develop a password protected application which resides ion systray. I wish when windows shuts down to stop my application without showing password dialog. Here is my code:
...
void __fastcall TMainForm::WndProc( TMessage &Msg)
{
switch ( Msg.Msg )
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.