var GGHandle : THandle;
classname: array[0..255] of char;
var hwndWinamp : THandle;
begin
GGHandle := FindWindow(nil,'External Appz');
GetClassName(GGHandle,ClassName,SizeOf(ClassName));
hwndWinamp := FindWindow(classname,nil);
ShowWindow(hwndWinamp, SW_SHOW);
or
ShowWindow(hwndWinamp, SW_HIDE);
Development in most programming languages is frequently done with an editor or integrated development environment (IDE). An IDE is a software application that provide comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. XCode, Visual Studio, Adobe Dreamweaver and Eclipse are some of the more popular development tools, but an editor or IDE can be anything from simple text editors to sophisticated programs. Related topics: All programming and development language, database and web based content management systems topics
TRUSTED BY
ASKER
Ok with this code
if IsWindowVisible(hwndWinamp
begin
FRM_Main.BT_Hide.Click;
end else
begin
FRM_Main.BT_Show.Click;
end;