|
The dotted lines constructs the focus rectangle, which is vital information for someone using the keyboard to navigate the GUI.
To get rid of it, you could custom draw[^] the list.
|
|
|
|
|
there is no option to remove this focus rectangle.
|
|
|
|
|
Le@rner wrote: there is no option to remove this focus rectangle.
If that's a question, then there is no style bit for that, no.
If that's a cry of despair, have my sympathy.
|
|
|
|
|
option is disable item selection.
|
|
|
|
|
Hi all, I have been trying to display Προσθήκη Όλων on a button control in Win-7 as well as in Win-xp machines. In Win-7 it is displaying properly but in Win-xp (SP3, 32 Bit) it is getting displayed as ???s???? ????. I have used unicode APIs. What may be the reason. Please help me to solve this issue.
Regards
msr
|
|
|
|
|
are you sure that 'Supplemental language support' and codepage conversion table for Greek is installed in XP?
|
|
|
|
|
This is just a blindshot, but maybe the font you are using needs the GREEK_CHARSET set to it, like shown here[^] for the LOGFONT structure's lfCharSet member?
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <
|
|
|
|
|
Hi
<br />
<br />
BeginPath(hdc)<br />
<br />
Ellipse( hdc,0,0,200,200 );<br />
<br />
EndPath(hdc);<br />
FlattenPath( hdc);<br />
<br />
LPPOINT pt;<br />
LPBYTE byt;<br />
int nCnt= 0;<br />
nCnt = GetPath(hdc, (LPPOINT)NULL,(LPBYTE)NULL,0);<br />
if( nCnt != 0 )<br />
{<br />
pt = new POINT[nCnt];<br />
byt =new BYTE[nCnt];<br />
}<br />
<br />
Is this code produce correct path count (nCnt) in the given ellipse?
|
|
|
|
|
Well, as far as i can see, according to the documentation[^], nCnt should give you the number of points the path consists of.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <
|
|
|
|
|
Hi!
I got the following error:
Error 1 error C2259: 'irr::gui::CImageGUISkin' : cannot instantiate abstract class d:\klagui\source\main.cpp 27
I checked the CImageGUISkin class for pure virtual functions. It has no pure virtual functions. Then why this error comes? How to resolve this error?
|
|
|
|
|
If CImageGUISkin inherits from other classes, you need to check them too, and make sure all pure virtual functions are overridden/defined.
|
|
|
|
|
Parent class contains pure virtual functions. But if I try override those functions, I got the following errors:
error C2259: 'irr::gui::CImageGUISkin' : cannot instantiate abstract class
1>d:\klagui\source\cimageguiskin.cpp(325) : error C2143: syntax error : missing ';' before 'irr::gui::CImageGUISkin::getColor'
1>d:\klagui\source\cimageguiskin.cpp(325) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\klagui\source\cimageguiskin.cpp(326) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\klagui\source\cimageguiskin.cpp(326) : error C2511: 'int irr::gui::CImageGUISkin::getColor(irr::gui::EGUI_DEFAULT_COLOR)' : overloaded member function not found in 'irr::gui::CImageGUISkin'
1> d:\klagui\source\cimageguiskin.h(37) : see declaration of 'irr::gui::CImageGUISkin'
|
|
|
|
|
There is something on the line d:\klagui\source\cimageguiskin.cpp(325) that the compiler doesn't understand. Usually a type name where you forgot to #include its declaration.
|
|
|
|
|
Are you aware that there is an Irrlich forum (which can be accessed through their website) ? You'll have much more chance to get an answer there rather than asking Irrlicht specific questions on codeproject.
|
|
|
|
|
Hi
How to find hit testing of Circle/ellipse using mathematical formulas(not using Regions)?
thanks
|
|
|
|
|
one way would be to store the centers and radius of circle(In case of ellipse it depends on the length of the major and minor chords) and when the mouse is clicked you can get the point of click and check if the coordinates are within the range of the circle or the ellipse.
For ex: in case of a circle, if you have a circle with center at (100,100) and radius as 100 then if the user clicks on x,y then check if the new points are still in the space occupied by the circle. In other words you can check if x,y both lie between 0 and 200
There will be some refinements required though with this approach.
EDIT: BTW circle is a special case for ellipse with the major and minor chords of the same length, called the radius in a circle.
I am a HUMAN. I have that keyword (??? too much) in my name........
_AnsHUMAN_b>
modified on Wednesday, September 15, 2010 2:54 AM
|
|
|
|
|
The straight way is: use the curve equations for finding possible intersections.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
How to use the C++ dynamic load DLL which compiles with C#
tks!
|
|
|
|
|
I suggest you start looking at p/invoke - here's two starters ...
http://www.perceler.com/articles1.php?art=pinvoke1
http://www.codeproject.com/KB/dotnet/PInvoke.aspx
'g'
|
|
|
|
|
What do you mean by a dll which compiles with C#? I think you have a native (C++) dll which you want to use in C#. As already suggested you can either use PInvoke to call the functions from that dll or if its a COM dll you might be interested in generating a tlb for it, then you can add the reference to this .tlb in your C# application and consume it.
I am a HUMAN. I have that keyword (??? too much) in my name........
_AnsHUMAN_b>
|
|
|
|
|
Is it possible to write a code that adds today's date to a jpg photo?(the date is changed everyday)
|
|
|
|
|
1. read JPG without date
2. draw the date text onto the image
3. save the image as a new JPG
4. wait 23.9999999 hours
5. goto 1
there are a million ways to do 1, 2 and 3.
|
|
|
|
|
Still using goto ?!?
2 bugs found.
> recompile ...
65534 bugs found.
|
|
|
|
|
if it's good enough for a CPU, it's good enough for me
|
|
|
|
|
Add it to the visible part of the photo, or to its metedata?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|