 |
|
 |
This code is great, but sad to say it wont work under vista if aero theme is activated, and need to change (programmatically) to vista basic theme for it to work.
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
 |
I have been coding a MasterMind game where you have to guess the colors combination choosen by the computer, which gives you information about the answer via black and white figures.
I had to find a nice and funny way to display a message when the user finally finds the answer, and to make him happy for winning the game. So I decided to use your animated dialog for this, and many people who played the MasterMind game noticed it and found it very pleasant and nice.
So I have to congratulate you for this simple and smart idea, and let you know that your code is being used and greatly appreciated.
Thank you again !
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
 | SIMPLY  Hugo.Pereira | 2:25 21 Dec '06 |
|
|
 |
 | Hats off  Balkrishna Talele | 23:41 11 Dec '03 |
|
 |
Amazing, enchanting, truly the creativity is divine inside and out, You made me unspoken . I lull before you imagination.
|
| Sign In·View Thread·PermaLink | 5.00/5 |
|
|
|
 |
|
 |
Amazing!!!! Just do not have words to praise your creativity. All the code you have used are simple yet the effect is incredible
========================== AB => Code and let code Go to my home ==========================
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
When I thought everything in GUI development is over, this article came as a bolt from blue. Hence I give highest possible rating.
T.S. Prasad
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
void AnimEffect::ChooseFunc() { bool bRandom = false;
if (m_Effect == Random) {
srand(time(NULL));<--------------- //TO DO THIS. bRandom = true; Effect((EffectType)(rand() % 5)); } .........
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
AnimEffect::AnimEffect() { m_hDC = ::GetDC(NULL); m_hPen = ::CreatePen( PS_SOLID, 1, RGB(0,0,0) ); srand(time(NULL)); Defaults(); }
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
 | Speed  George | 8:37 6 May '00 |
|
 |
I am using this class with great success. The only problem I noticed is the speed - on PII200 it is slow, but acceptable. But on PIII500 it is too fast, I think PIII800 would make it way too fast..
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
my pc is CII733+128m... speed is well.
i test it in P4-1.6G/256M DDR, speed is not very fast than image! ACCEPTALE!
I'm a chinese boy... I like vb/vc++...
|
| Sign In·View Thread·PermaLink | 3.00/5 |
|
|
|
 |
|
|
 |
|
 |
I added this effect to my About dialog this morning and I've been clicking on the About... choice on the popup menu all day.
I didn't want to "dirty" codetools with another pure "thank you" comment, but I couldn't help myself.
My About dialog would surely has your name on it. It's an honor to do so!
A million thanks,
|
| Sign In·View Thread·PermaLink | 1.50/5 |
|
|
|
 |
|
 |
How can I change the code so that when it is done it updates the window behind the effect. Depending on the effect most of the lines are left behind (any windows that lie behind need to be updated).
Also, my OnCreate function will always display the animation the correct size but at 0,0:
int CAdevtest2Dlg::OnCreate(LPCREATESTRUCT lpcs) { if (CDialog::OnCreate(lpcs) == -1) return -1; // exploding window effect // CRect rc(lpcs->x,lpcs->y,lpcs->x+lpcs->cx,lpcs->y+lpcs->cy); // This does not work either CRect rc; GetWindowRect( rc ); AnimEffect ef; ef.Effect(AnimEffect::Spike); ef.Open( rc ); return 0; }
| | | |