|
|
For the attention of the forum administrator.
I have been in the programming industry for 15+ years
and I am surprised and shocked by the number of offensive
and arrogant updates that pour ridicule on certain members of this forum that ask 'inappropriate' questions aimed at resolving their problem.
There seems to be a few contributors that deem themselves way above the learning curve who most likely forget that they once started at the bottom.
One of the most important aspects of programming is shared knowledge and
without that philosophy none of us would progress at all.
To slight and ridicule others who ask questions deemed trivial, is a disgrace.
You should be ashamed of yourself and you know who you are.
My whole expertise is built on the learning curve, development and experience of others,
that's how the whole of information technology was developed.
Sharing ideas and the solution to problems is at the heart of IT and to allow a few
contributors to use your forum as a kind of arrogant chatroom where naive questions
are frowned upon, surely cannot be right.
James.
|
|
|
|
|
Don't know if I should be ashamed, but well said!
|
|
|
|
|
I've been nuked a few times, do to errors in my answers. The majority of nukes seem to be directed at students who are asking for someone else to give them the answer, insted of presenting an attempted solusion.
INTP
|
|
|
|
|
While I can sympathise with your standpoint, I don't know what you referred to and neither the threads and questions.
That said, I know from experience that many questions are repeated - displaying the questioner have not even done the basic googling or searching of even CP itself.
If the questioner tells up front "I've been trying to find this answer using means x, y and z" it's one thing, but asking a beginners question with an almost obvious proof s/he hasn't even done a google search IMO deserves LARTing.
Again, as I don't know what you referred to there might have been something more serious provoking your post, but in my experience post of this kind are provoked by a bystander watching, just for a short while, people who are too lazy to even bother trying to find their own answers before bugging the general public and get flamed for it.
|
|
|
|
|
hi,
i want to make a view that no matter how many other child windows opened,
untill i won't close this perticiler view, i cant touch the other windows...
like in dialog boxes..
does anyone knows how to do that? or get me a link?
Avi.
|
|
|
|
|
You should rethink your design and use a modal dialog instead. That way, you conform to the GUI-guidelines, and will not surprise the users. You might want to search for interface guidelines on MSDN, the Apple developer site http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/index.html[^](!), for example, also have lots of usability and design information.
If you insist on doing it this way, you might want to call EnableWindow with a FALSE parameter for all the windows that should be disabled.
|
|
|
|
|
hi,
how can i create a response type window? (im using Doc/View architecture).
i create a new window with command myDocTemp.OpenDocumentFile() (after i found the right template), but it only open me a regular window.
do u know a way to open a response or popup window?
|
|
|
|
|
You don't explain what you mean with a response window. Given your other post, I suspect that you mean a modal dialog? In that case, create a dialog box in the resource editor, assign it to a class (with the Class Wizard), create an instance of the class, and call DoModal on the instance.
|
|
|
|
|
AOA !
I recently am involved in developing a Remote Desktop Monitor, (I can view the active desktop of any of the machines on my network). I already have reached a static solution where I recieve a static desktop image from each of my clients and I have to send a refresh request to get the image again.
I want that my client automatically sends me the image each time any portion of his screen is updated. I thought of sending the entire image again and again but it would be extremely inefficient. I want to send Only the portion of (Invalid Rectangle) whcih is updated.
I have used Windows Hooks to get any WM_PAINT message when it is posted in system message Queue and I get the Invalid Rectangle, but this rectangle has not been validated yet and I want a certain notification after a WM_PAINT message is processed. So I could copy the updated portion (image) from Desktop and send it again.
I do get which portion of screen is invalid but How can I know when a certain portion is Validated ...
Please Help .... Anyone !!
Aleem
|
|
|
|
|
|
Hi,
I am almost at the ending of my project. Now I have to build a statically linked exe file. How can do it?
Thank you,
R.Ravi Kiran
|
|
|
|
|
Is it an MFC application?
If so, selected "Use MFC in a Statically Linked Library" from the Project->Settings dialog will do it.
augy
|
|
|
|
|
I am using qt for the front end with MFC sockets and threads. I used qmake tool of qt to create a dsp file. And
I am getting the following error if I compile the project using the "Use MFC in a statically Linked Library" option set in project settings:
Generating Code...
Linking...
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in libcpmt.lib(delop.obj)
libcmt.lib(crt0init.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4199: /DELAYLOAD:oleaut32.dll ignored; no imports found from oleaut32.dll
LINK : warning LNK4199: /DELAYLOAD:winspool.dll ignored; no imports found from winspool.dll
Release/max.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
max.exe - 2 error(s), 4 warning(s)
Plz help me out.
Thank you,
R.Ravi Kiran
|
|
|
|
|
I have 0 experience with qt, so I don't really know how it works.
However, maybe I can still be of some use...
So you don't get this error if you dynamic-link your MFC?
Are you compiling debugging symbols in?
Are you including stdafx.h twice?
I don't know what the contents of nafxcw.lib or libcpmt.lib are, so these are just stabs at the problem.
augy
|
|
|
|
|
Yes I am not getting any error if I dynamically link MFC.
What do mean by "Compiling debuggin symbols in?".
No I am not including stdafx.h twice.
What can I do abt the library files.
Thank you,
R.Ravi Kiran
|
|
|
|
|
I want to know How can I get my program to chainge it's Icon to anothher program's Icon. If i get the icon handle of c:\winamp.exe with ExtractIcon how do I make my program chanbge it's icon to that ?
gabby
|
|
|
|
|
Call the main window's (main frame's) SetIcon() function.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it!
|
|
|
|
|
I am making a win32 api and even with MFC support in a static library I can't use SetIcon function. Even if I used MFC this would have helped because my app icon. I want to know how can I change my icon. My app does not contain any dialog boxes or resources.
gabby
|
|
|
|
|
All the SetIcon() function does is send a WM_SETICON message to the window. You could send the WM_SETICON message yourself. To get the icon handle you can use the LoadImage() function. Look up WM_SETICON and LoadImage in MSDN.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it!
|
|
|
|
|
hi i'm working on my graduation project and i could use any help on how to convert a file (eg : txt , jpg..) to a bit stream .i read something about openning file in binary mode but i dont know much about it. plz any comments will be very helpful . thanks.
|
|
|
|
|
mohamed elemam wrote:
convert a file (eg : txt , jpg..) to a bit stream
Umm... I think a file is a bit stream. Am i wrong? Anyone?
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
I'm not sure I understand the context of the question either. In a sense, yes a file is a bit stream. It's just data. You don't have to convert a file to a bit stream you simply have to use a tool to get the data out of the file and into a file stream in your program so that you can read the data.
Binary mode; sounds like you might be referring to the CStdioFile which is an MFC class. This class inherits from CFile which is used for binary files. CStdioFile allows you to specify binary or text mode and has some extra functions that make reading lines of text very easy. The MFC documentation is fairly clear on how this works; it's just a matter of reading the class documentation in the MSDN library. Of course, there are the basic C++ file streams that can be used to read files and stream data into your program. These are just STL classes which you can learn about in most basic C++ books.
I guess I don't know if I really answered the original question since it was rather vague. We don't really know what is going to be done with the file so all I can say is that streaming data into the program from a file or vice versa is done with file streams or an MFC framework class such as CFile or CStdioFile. A file is just a stream of bits waiting to be processed. You don't have to convert it to do this; you just do it with an existing programming tool and stream the data into your program.
Best Regards,
Shawn
|
|
|
|
|
All files are just a series a bytes stored on disk. There is no conversion needed. The only differnce is which program or piece of code you try to open them with. You can open a .exe file with note pad if you want, of course it will look very strange, but it is not text is it.
INTP
|
|
|
|
|
Hi guys
There is an easy way to create a PDF instead to print programatically?
Best Regads
DOC
|
|
|
|