Search:
Type: Posts; User: smallbit
Search:
Search took 0.03 seconds.
-
October 7th, 2011, 02:05 AM
Thanks Eri
Thats is a tricky solution but won't work, because the panel mousewhell event never fires. Other events i need to use (mose move etc) works correctly. I can't disable it for that reason....
-
October 6th, 2011, 03:23 AM
Hi there a new riddle.
I have a form with some controls on it and a gl panel. I am using mouse_wheel event for form 1 to capture the wheel. It works fine however i can go to a state that event...
-
October 3rd, 2011, 02:00 AM
Thanks for your answer,
It is not very easy to reproduce the exception (since as I wrote it appears in unexpected moments). However I am now disposing the Graphics, and also I have rewrite a bit...
-
September 30th, 2011, 03:35 AM
Hello guys,
New riddle for you,
I am using a method to rotate images in a form.
private: System::Drawing::Image^ rotateImage(Image^ b, float angle)
{
//create a...
-
September 26th, 2011, 01:52 AM
That do the stuff. Thanks a bunch :D !
-
September 23rd, 2011, 09:58 AM
I will type all of what you have asked for on monday.
But it will probably be first thing you've mentioned since i haven't had the null termination in mind. should i append "\0" to the end of array...
-
September 23rd, 2011, 03:43 AM
Hello people
I have a small problem here and can't solve it, but i am sure that for you is nothing.
I have a char[19] that i want to put into rich text box in form.
However when i am...
-
April 29th, 2011, 02:52 AM
The simplest way:
String^ txt = "Kamil";
textBox1->Text = txt;
Cheers
-
March 28th, 2011, 02:32 AM
Well forgive me, but
The only thing that two examples had in common is a PNG file used. I'am sorry I thought it was clear. Anyway I described the problem precisely and upload an example...
-
March 25th, 2011, 03:47 AM
Well I have never written that this is still bubble case :D
This is different part already therefore I created a new thread here.
This is gonna be some sort of joystick that does two things, ...
-
March 24th, 2011, 09:47 AM
Well not directly but you are able to have several instances of the player and that way play sounds simultaneously, this was contrasted for example with PlaySound() method from winmm32.lib, that is...
-
March 24th, 2011, 09:43 AM
Well I could bet money that it works also on button that isn't invisible (I mean has a half PNG file with some transparent parts, assigned as a background from the beginning through the preferences...
-
March 24th, 2011, 05:11 AM
Hi guys,
New Riddle!
Ok So I am using the windows media player control to play sound (i need to play several sounds at a time).
I have a sound let say a diesel engine working.
Now I want...
-
March 24th, 2011, 03:56 AM
Hi Guys,
I have tried to implement a mix of both of your solution in a custom control, but I am still getting the flicker however very tiny like from the Cthulu's solution, probably Eri's idea...
-
March 23rd, 2011, 11:48 AM
Very nice Eri,
I will try now to mix your way within the panel I am sorry but I have forgot to mention about that.
Anyway Cthulu game me some hints already, on which I will try to apply your way....
-
March 23rd, 2011, 11:05 AM
All right I will do so,
I thought it will work, but suddenly when dragging the custom control i get error because it has no background, I will try to do your way.
Lets say I have my bubble in...
-
March 23rd, 2011, 09:08 AM
I did a school mistake,
It works nice but I have forgot to mention that my buttons are in the panel ...
Therefore is not so direct to set it's style.
I know that I have to do some of these...
-
March 23rd, 2011, 03:36 AM
Eri523, TheGreatCthulhu
Thank a lot for your help,
And thanks for explanation what is really going on around this drawing processes. As i wrote i am new to this, now i have clearer view for all...
-
March 22nd, 2011, 02:41 AM
Thanks,
And this might sound weird, but i am glad that you have the same problem :D.
Anyways, I could eventually use a picturebox (instead of button) and manage the mouse events there, but...
-
March 21st, 2011, 09:57 AM
Hi Eri,
Attached you will find a small project that reproduces the problem, I have noticed that is not a problem of PNG itself, because it only happens when there is another picture below as a...
-
March 21st, 2011, 04:15 AM
Well,
I don't need to override anything, I just tried to resolve the flickering.
When I leave it to the class itself it flickers. I read somewhere here that this is the common solution fot that. ...
-
March 18th, 2011, 11:01 AM
Hi Again,
So next riddle for you guys,
I have a button which location is changing dynamically, the button itself has a PNG image set from which some parts are transparent, and background colour...
-
March 18th, 2011, 04:00 AM
Hi Eri,
What do you mean by "vanishing resource problem" ?
Anyway, I cannot run your project (its VS2010?) but I've seen the code and screen. In the original problem I meant to display...
-
March 17th, 2011, 12:11 PM
Well, I am ashamed of the way I have chosen, it does not involve any programming tricks.
Since the bubble is always visible(note that I have the top view for the spirit level) it doesn't need to be...
-
March 17th, 2011, 05:39 AM
Thank you for the answer,
I have resolved it in other way, but your advice about flicker issue was useful in other part i had pending to resolve :DD
Cheers
|
Click Here to Expand Forum to Full Width
|