|
kilt wrote: Simply use built-in Win32 XML apis (COM, SAX, and others)
These are as built-in as the CP articles.
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]
|
|
|
|
|
Hello Coder
Am new in graphics
can u plz help me to resize .bmp image by factor 2 or 3 or 4.
|
|
|
|
|
There are several ways.
My DLL [^], for instance, provide resizing without too much quality loss.
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]
|
|
|
|
|
You beat me with about 10 seconds.
|
|
|
|
|
Nuri Ismail wrote: You beat me with about 10 seconds.
Thank you man for remembering my article
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]
|
|
|
|
|
thx for reply but i dont have any idea abt dll file.
|
|
|
|
|
LoveneetSingh wrote: thx for reply but i dont have any idea abt dll file.
See (as software developer you need to know about DLL s...), for instance [^].
My DLL comes with a sample application and, of course, source code is provided as well.
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]
|
|
|
|
|
|
You absolutely don't need any dll (!)
Just use basic gdi or gdi+
|
|
|
|
|
kilt wrote: Just use basic gdi or gdi+
Which requires one or more DLLs.
Your posting style is deplorable. Since you never have anything positive or useful to say, why bother? Go play someplace else.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"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
|
|
|
|
|
What is Basic GDI or GDI +
|
|
|
|
|
The Windows system for displaying graphical information. GDI(Graphic Device Interface) provides basic functions, and GDI+ some advanced features. Take a look at the documentation on MSDN for full details.
|
|
|
|
|
Windows programming without DLL s? you're joking, Mr.Kilt...
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]
|
|
|
|
|
Hi
how to showing the images in the dialog box ...??
~~~~~~~~~~~~~Raju~~~~~~~~~~~~~
|
|
|
|
|
There can be several ways, use a picture control, handle WM_ERASEBKGND or WM_PAINT and blit the image yourself, write your own picture-control-like control...if this is not enough for you to get started with it, give more details about what you want because it is hard to guess your specific needs.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
What about documentation [^]?
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]
|
|
|
|
|
hello everyone,
This is a kind of strange question but it just got stuck to me this morning while writing my MFC application. Every time we define a message macro in MESSAGE MAP, we use default prototype for handling that message, i.e. for handling WM_CHAR() message we have OnChar() handler, what i want to know is whether there's a way change this default handler and provide our own message handler, with our defined name..........
I know we can work around this by calling our defined function in the default message handler but what i want is i don't want to mention the default handler in my application code.
your help is highly awaited........ thanks in advance
Regards
|
|
|
|
|
Yes you can add your own message handler for that.
Firstly remove OnChar() function from MESSAGE MAP and remove all entries related to it.
then
just add the ON_MESSAGE for WM_CHAR in .cpp file
BEGIN_MESSAGE_MAP(CMDI_CharView, CEditView)
//{{AFX_MSG_MAP(CMDI_CharView)
//}}AFX_MSG_MAP
ON_MESSAGE( WM_CHAR, MyOnCharMessageHandlerFunction )
END_MESSAGE_MAP()
and in .h file add your message handler function.
protected:
//{{AFX_MSG(CMDI_CharView)
//}}AFX_MSG
afx_msg void MyOnCharMessageHandlerFunction (UINT nChar, UINT nRepCnt, UINT nFlags);
DECLARE_MESSAGE_MAP()
Величие не Бога может быть недооценена.
|
|
|
|
|
ARJ 09 wrote: afx_msg void MyOnCharMessageHandlerFunction (UINT nChar, UINT nRepCnt, UINT nFlags);
Just a correction...
The handler of the ON_MESSAGE should be in the format
LRESULT MyOnCharMessageHandlerFunction(WPARAM wParam, LPARAM lParam);
|
|
|
|
|
Yes exactly, thanks naveen for correcting me
Величие не Бога может быть недооценена.
|
|
|
|
|
|
I think I answered your query earlier when it was the other way round i.e you wanted to convert mdb into text. You can use the same method of using CFile to read from the text file and then use DAO to write the values in the mdb file.
If you are unable to find anything on google, search for DAO MFC which you might have missed as the search string.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
I got board with c++ basic stdlib. I want to write some headers.
I believe I understand Defines are functions and that Ifndef Runs the Defines and Operates them for example. I have some basic questions.
If i use
#ifndef TEXT
#define TEXT
#define BINARY
#define OUTPUT
#define RETURN
#endif
Could TEXT; Ruturn a string? and does it really function that way using the defines? How would i go about using the #ifndef and #defines in the actual c++ int main(){}
for example i see the header iostream.h and cout is available in main(). Can I write anything like cout in there? can someone please guide me in the right direction?
Ive seen something like this...
#ifndef COMPILER
#define NUMERIC
#define COMPILER
#define BIT 8
#define OUTPUT
#endif
using compile;
but im not sure on the using one and where it goes what i need else etc.... thnx for your time.
modified on Monday, September 14, 2009 4:39 PM
|
|
|
|
|
#define creates a macro, not a function. the macro can look like a function:
#define min(a,b) (a < b ? a : b)
or it can look like a constant:
#define BLOCKSIZE 1024
or it can be just a flag:
#define THIS_FLAG_IS_SET
#ifndef/#ifdef tests to see if a macro with that name has been #defined.
in any case, all of the #**** directives are handled before actual compilation. the preprocessor does something only slightly more complicated than search/replace with #define'd macros, and then hands the result to the compiler.
http://en.wikipedia.org/wiki/C_preprocessor[^]
|
|
|
|
|
howabout this
#define RUNSITSELF
#define TEXT ("TEXT")TEXT
#define DEFINE
#define TEXTSOFTWARE
That there will run defines. if in that order.
thats what im saying. it does run there at text to the processor... like when i use.. "TEXT"+1234;
that runs...
#ifndef is like a if statement if(a==b){ RUNDEFINE; }
thats what i think. the question maybee what can run such a thing.. hmm...
|
|
|
|