if I have a string x = "hello"
and I know the font face is "Arial"
and the size is 25
how can I find out the width of the string ( not the number of characters, but the width in pixels )
does anyone know?
thx
aidanh
I have been given a bit of source code which I am trying
to compile!
The code uses the functions
SetupDiGetClassDevs( ... )
SetupDiEnumDeviceInterfaces( ... )
which are in setupapi.lib
Unfortunately I get the error messages
error C2664: 'SetupDiGetClassDevsA' : cannot convert...
I have been given a bit of source code which I am trying
to compile!
The code uses the functions
SetupDiGetClassDevs( ... )
SetupDiEnumDeviceInterfaces( ... )
which are in setupapi.lib
Unfortunately I get the error messages
error C2664: 'SetupDiGetClassDevsA' : cannot convert...
Which header file do I have to include if I want to use class CFont - I get the error Undeclared identifier.
I have Use MFC in a Shared DLL selected in the Project settings
thx
I'm having a problem overlaying VMR9AlphaBitmaps on top of
a video stream.
I have tried creating two Off screen plain surfaces, and two VMR9AlphaBitmaps. After initialising them I try using the SetAlphaBitmap method twice this does not work :(. I can either display one bitmap or the other...
Hello everyone
I am having a problem using the command method. Basically I am trying to get a value returned from SQL Server. I have written a sql stored procedure which works I think, it looks like this:
------------------------------------------
CREATE procedure...
Hello everyone
I am having a problem using the command method. Basically I am trying to get a value returned from SQL Server. I have written a sql stored procedure which works I think, it looks like this:
------------------------------------------
CREATE procedure...
Havinga a problem when I execute an ADO command from vb which writes to my SQL Database. I execute a stored procedure which updates a field. I pass from VB a string through an ADO command however append paramter converts it to Null-terminated Unicode character string. The stored procedure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.