|
Having absolutely no clue about what you're actually talking about, since you provide zero context to a complete non-question, I'd give this sound guess:
An abstrcation of iteration through the pixels of an image.
--
The Blog: Bits and Pieces
-- modified at 5:34 Sunday 27th November, 2005
|
|
|
|
|
I am sorry,I can't use English well.My mean is that there is a CImageIterator class in CxImage, and what's use of this class?
|
|
|
|
|
Then my initial guess was correct. I've used CxImage extensively and know for a fact that CImageIterator iterates the pixels of a CxImage .
--
The Blog: Bits and Pieces
|
|
|
|
|
Thank you for your answer.. I have another question that how to display a gif picture by CxImage?
blackeye
|
|
|
|
|
I often get "error LNK2001: unresolved external symbol" for _FunctionName@24,
what is this supposed to mean?
what does this notation _FunctionName@24 mean?
thanks!
|
|
|
|
|
Different compilers/vendors 'decorate' functions names with various schemes when they compile your code into object modules - this is commonly known as 'mangling'
In MSVC for example, its possible to decode the function name AND its parameters from looking at a mangled name. There is also, to make things worse, a difference in 'c' vs c++ name generation ...
That you get a LNK2001 error should be obvious - you have a call to that 'FunctionName' in your code and it cant be found in an object module's symbol/export table - maybe you're not linking against the right object/DLL or such
There are plenty of articles out there detailing how to fix this along with stdcall, cdecl discussions (search to find what I mean), I'm probably not the best person to give you a more in-depth reply than this ..
'g'
|
|
|
|
|
assume there is a link
<a href="file://c:/abc/xxx">
how to know if the file exists?
the link may not be a file, i.e.
xxx=open?param
or something else.
includeh10
-- modified at 23:53 Saturday 26th November, 2005
|
|
|
|
|
|
Can I program TAPI to detect CLI tones instead of DTMF tones?
Thanks for reading.
Vaclav
|
|
|
|
|
with CHttpConnection, we can easily request for a web file by function OpenRequest();
is it possible to request a local file,
such as "file://c:/abc/index.htm"
by CHttpConnection::OpenRequest() or other VC functions ?
includeh10
-- modified at 23:54 Saturday 26th November, 2005
|
|
|
|
|
Using a URL with the file: protocol works when using WinInet directly; I'd imagine that it would work with the MFC wrappers too. Just make sure to get the syntax right - there is a difference between file:// and file:///
For more info, see http://blogs.msdn.com/freeassociations/archive/2005/05/19/420059.aspx[^]
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
There is a saying in statistics that a million monkeys pounding on typewriters would eventually create a work of Shakespeare. Thanks to the Internet, we now know that this is not true.
|
|
|
|
|
what the use of the CxImageIterator Class in CxImage library?
blackeye
|
|
|
|
|
How can a window in a dialog receive keyboard message?
I create a window in a dialog.This window can show 3D drawing including rotation and can receive mouse message,but it can not receive keyboard message.
Please tell me why,Thank you for your answer.My code for create window is as follow.Maybe it need more parameter.
My program for create window is as follow:
R1=CRect(200, 7, 1000, 200);
// TODO: Add extra initialization here
m_pDisplay->Create( NULL, //CWnd default
NULL, //has no name
WS_CHILD|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|WS_VISIBLE,
R1,
this, //this is the parent
u1);
sude
|
|
|
|
|
it can receive keyboard input if it gets focus (by SetFocus() function).
the window may need TABSTOP style or something else.
includeh10
|
|
|
|
|
The control probably doesn't handle WM_GETDLGCODE, which is used to determine what kind of keyboard messages it should receive. If you've derived from CWnd, then override the OnGetDlgCode function.
--
Joel Lucsy
|
|
|
|
|
Hi people...
I don't know how to close all handles to a disk when trying to do some manipulations. It's very interesting how to do like format.com do this.?
|
|
|
|
|
hrepa wrote: I don't know how to close all handles to a disk...
Is CloseHandle() what you are looking for?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Nope sir,
I need to close not only my handles. But also other processes's handles. ( like format do... )
|
|
|
|
|
Dear all
I have a little problem about reading a file from the network. I made a sniffing program to read the network packets for further processing. I want it to be able to read a script file to start working. My question is how to determine that the incoming traffic is the script file contents? i.e. how to know its name, its extension, etc.
I developed the sniffer in VC++ and used the winpcap library to read the network packets.
Regards
islam
-- modified at 13:00 Saturday 26th November, 2005
|
|
|
|
|
Hi,
I created a text control from CWnd.
I assigned a font to the object of this class using SetFont(CFont*) in the main window which uses this control.
But I cannot get the font inside the class OnPaint method using GetFont(). It always returns NULL.
But I can change the button font by using SetFont(CFont*).
What could be wrong...?
Thank you.
- NS -
|
|
|
|
|
|
I failed to solve the problem...
The font object is class member. So no chance to missing the font when my control is active. Also the same font is assigned to the buttons and they are working fine...
Can you suggest another solution, please?
Thank you.
- NS -
|
|
|
|
|
Can you gives us a little bit more details on the class you are using (from what class is it derived actually)?
SkyWalker
-- modified at 0:46 Monday 28th November, 2005
|
|
|
|
|
Yes, sure...
class header is:
class CTextExtCtrl : public CWnd, public CColorMgr
{
...
...
};
In CPP:
bool CTextExtCtrl::Create( CWnd* pWndParent,
LPCTSTR lpctszMsg )
{
...
...
CString csClass( AfxRegisterWndClass( CS_VREDRAW |
CS_HREDRAW | CS_PARENTDC, LoadCursor( 0, IDC_ARROW )));
CWnd::Create( csClass, _T( "" ), WS_CHILD |
WS_VISIBLE, CRect( 0, 0, 0, 0 ), pWndParent, 0 ))
...
...
}
In main wnd class, Called from OnInitDialog:
m_arBtn[nIdx].SetFont( &m_fontDlg );
if( !m_textctrl.Create( this, ptcErrMessage ))
{
return false;
}
m_textctrl.SetFont( &m_fontDlg );
The font is valid and the buttons' text are changed with assigned font type.
The last line of code was replaced by me as following, to debug the result:
CFont* pFont = &m_fontDlg;
m_textctrl.SetFont( pFont );
pFont = m_textctrl.GetFont();
On debugging the values of pFont and pFont->m_hObject are valid. But after the last line (GetFont) it become null.
I use the the assigned font to draw the text in the control.
void CTextExtCtrl::OnPaint()
{
...
...
CFont* pOldFont = dcMem.SelectObject( GetFont());
dcMem.DrawText( m_csMsg, &rect, DT_WORDBREAK );
...
- NS -
|
|
|
|
|