Search found 10 matches

by Glow
Thu Apr 06, 2006 5:53 pm
Forum: Coding Questions
Topic: How to get window handle from process id/handle
Replies: 5
Views: 1066

argh - forget all I wrote: You don´t wanna use FindWindow_
by Glow
Thu Apr 06, 2006 5:25 pm
Forum: Coding Questions
Topic: How to hide an external program from the desktop AND taskbar
Replies: 22
Views: 4288

@PB : The GetWindowLong_(a,#GWL_HWNDPARENT) was indeed the key :) I tried it with GetParent_(hwnd) before, but I had no success with that. Thanks for your effort. It´s all good now :D
by Glow
Thu Apr 06, 2006 7:39 am
Forum: Coding Questions
Topic: How to hide an external program from the desktop AND taskbar
Replies: 22
Views: 4288

The program I´m trying to hide is:
http://images.tomshardware.com/2004/05/ ... assign.zip

I tried some other things in the meanwhile, but with no success :(
by Glow
Wed Apr 05, 2006 10:25 pm
Forum: Coding Questions
Topic: How to hide an external program from the desktop AND taskbar
Replies: 22
Views: 4288

I just tried some "commercial" tool to hide the app I wanna hide - it does not work. It has the same effect like my own tool :( Are there "unhideable" tasks ??
by Glow
Wed Apr 05, 2006 9:32 pm
Forum: Coding Questions
Topic: How to hide an external program from the desktop AND taskbar
Replies: 22
Views: 4288

Yeah, I´m getting the hwnd of the external program with FindWindow_
Your example is in no way connected with an external program, or am I totaly wrong ?


hWnd = 2098800 <- static handle
OpenWindow(0, 0, 0, 0, 0, "", #PB_Window_Invisible) <- new screen - new handle
SetParent_(hWnd, WindowID(0 ...
by Glow
Wed Apr 05, 2006 7:34 pm
Forum: Coding Questions
Topic: How to hide an external program from the desktop AND taskbar
Replies: 22
Views: 4288

ShowWindow_(WindowID(#window),#SW_HIDE)
SetWindowLong_(WindowID(#window),#GWL_EXSTYLE,GetWindowLong_(WindowID(#window),#GWL_EXSTYLE)|#WS_EX_TOOLWINDOW)
ShowWindow_(WindowID(#window),#SW_SHOW)


Thx, but it doesnt work either. I still have it on the taskbar :(


Set a parent window to remove the ...
by Glow
Wed Apr 05, 2006 6:40 pm
Forum: Coding Questions
Topic: How to hide an external program from the desktop AND taskbar
Replies: 22
Views: 4288

How to hide an external program from the desktop AND taskbar

Hi

I don´t get it:

I´m launching an external program with my tool (with RunProgram). So I have the PID and the hwnd. Now I wanna hide the external program with one click from my own app. The problem is: ShowWindow_(hwnd,#SW_HIDE) hides the program from the desktop, but not from the taskbar. It ...
by Glow
Mon Dec 19, 2005 6:19 pm
Forum: Windows
Topic: MINIFMOD 1.7 (statically linked XM player library)
Replies: 19
Views: 11261

@Jack: Thx for the link - that was the lib I used. The commands are recognized now. Unfortunally traumatic was right - it doesnt work in 3.94. But thx anyway for the afford :)

@ traumatic: yepp - seems to be a prob with the xm u used - mine repeats without any problems :) - but yours is a pretty ...
by Glow
Sun Dec 18, 2005 11:53 pm
Forum: Windows
Topic: MINIFMOD 1.7 (statically linked XM player library)
Replies: 19
Views: 11261

Hi

thx for the reply. Well, the reason why I initially wanted the old lib is, that it was pretty reasy to use. You just had these simple commands and you didnt had to care about the rest - the lib did the whole job.
But if it doesnt work anymore - well, too bad :(
But thx for the link, I think I´m ...
by Glow
Sun Dec 18, 2005 9:07 pm
Forum: Windows
Topic: MINIFMOD 1.7 (statically linked XM player library)
Replies: 19
Views: 11261

Sorry for bringing this old topic back to life, but I could need that library as well. I tried a version of minifmod_pb but it doesnt support the MFMinit() syntax. I have some old Source-Codes were I used this library, but I deleted all my old stuff when I updated PB to V3.94 :(
So if anyone has ...