Computer Games Forum
 

Go Back   Computer Games Forum > Tech > The Workshop > Limbaje de programare

Notices

Căutare produse PC Garage: Şterge căutarea

Reply
 
LinkBack Thread Tools
Old 14-01-2007, 23:44   #1 (permalink)
Registered User
 
Join Date: Jan 2007
C++ Gui

Sunt nou in C++ si as avea doua intrebari. Cum pun o iconita unui program si cum fac ca o fereastra sa clipeasca in bara daca nu este vazuta?(exact ca la o fereastra de messenger)

Last edited by Suzuran; 14-01-2007 at 23:59..
 
Suzuran is offline    Reply With Quote
Old 15-01-2007, 10:38   #2 (permalink)
Registered User
 
Join Date: Jan 2007
Si daca stiti cumva un tutorial bun in limba romana despre GUI in C++ va rog sa postati un link
 
Suzuran is offline    Reply With Quote
Old 16-01-2007, 09:05   #3 (permalink)
jmf
Prodigal Son
 
jmf's Avatar
 
Join Date: Feb 1999
Location: The Wasteland
"sa clipeasca in bara daca nu este vazuta" Asta sa-mi zici si mie daca reusesti...
__________________
The future just ain't what it used to be
 
jmf is offline    Reply With Quote
Old 16-01-2007, 10:56   #4 (permalink)
Bean Bachine
 
Comanche's Avatar
 
Join Date: Sep 2004
Location: Bucuresti
Pentru a pune iconiţă unui program în general depinde de GUI. În majoritatea programelor iconiţele se pun de prin meniurile de "Opţiuni"...
__________________
d*L*b
 
Comanche is offline    Reply With Quote
Old 16-01-2007, 18:40   #5 (permalink)
Registered User
 
Artisan's Avatar
 
Join Date: Jan 2007
Location: Bucuresti
Post Flash inactive window

Pentru a face fereastra sa clipeasca folosesti GetForegroundWindow si FlashWindowEx:
[CODE]if (::GetForegroundWindow() != m_hWnd) {
FLASHWINFO fi;
fi.cbSize = sizeof(fi);
fi.dwFlags = FLASHW_TIMERNOFG | FLASHW_TRAY;
fi.hwnd = m_hWnd;
fi.dwTimeout = 0;
fi.uCount = 0;
::FlashWindowEx(&fi);
}[/CODE]
 
Artisan is offline    Reply With Quote
Old 16-01-2007, 19:09   #6 (permalink)
Registered User
 
NutsOfSteel's Avatar
 
Join Date: Sep 2006
Location: Ankh-Morpork
Uhm. Nu cred ca Suzuran stie Win32 (din ce mesaje a dat pe threadul acesta). Win32 API nu este cel mai prietenos pentru GUI-uri...ci chiar dimpotriva.

Iti recomand sa incerci Qt, care are un tutorial destul de simplu care iti arata cat de usor e de folosit. Plus de asta, daca folosesti Qt, aplicatia va putea fi compilata si pe Linux/X11, Mac OS/X11/Acqua.

Just my $.02...
 
NutsOfSteel is offline    Reply With Quote
Advertisment
Reply

  Computer Games Forum > Tech > The Workshop > Limbaje de programare

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +2. The time now is 22:56.


Advertisement System V2.5 By   Branden
This site is copyrighted ©1997 - 2008, Computer Games Online SRL