|
I want learn game programming by visual c . How i can begin it;
i am good in c++ and vc but not :-Oproffesional and not begineer
any one can help me ????:->
|
|
|
|
|
|
Hi,
I want to send a WM_NOTIFY message from a class derived from CMSFlexGrid
to its parent window, but the message is always reflected back to the FlexGrid (tested with Spy++) and the handler for this message in the parent Window (Dialog) is never called. I think this is normal, since the the FlexGrid is an ActiveX(OLE) Control, but I need the message to be processed by the parent window.
Is there a way to disable this behavior, before sending the message??
Thanks in advance!
Tobi
|
|
|
|
|
can any one tell me good book on borland c++ builder
|
|
|
|
|
I'm writing a .dll, I want to show an editbox to an focused window but I don't know how to. Please show me how to both in MFC and Win32 .thankx
Then I kiss Ur eyes and thank God we're together
|
|
|
|
|
is ur Edit Box in the Dll!!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
But in the dll I don't have a dialog or user interface. when user do something press 'A' for examble, I want display a listbox in the window is having focused.
Then I kiss Ur eyes and thank God we're together
|
|
|
|
|
in one of my forms, there is an edit box for numeric characters. Everything is good when typing characters from keyboard but when i paste some thing that like "asads" it directly pastes it.
is there a basic solution or do i have to check after "PASTE" is there any unwanted characters and remove them...
|
|
|
|
|
Check the entry in your EN_UPDATE handler. If the user entered invalid characters reset the text back to the last valid entry.
"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! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
in one of my forms, i'm using 2 datetimecontrols. One of its format is "Short Date" there is no problem about this. Other one must be "Time", i set it to time and compile. Everything is great, working but there is a problem. When i go to resources and check it, "Time" is changed to "Short Date" and when i compile it it acts like "Short Date".
is there a solution or do i have to change it everytime
i am using visual studio 7.0
|
|
|
|
|
I know what you're talking about, I've had the same thing happen to me. You can try changing the style on WM_INITDIALOG by doing something like: dtp.ModifyStyle(0, DTS_TIMEFORMAT);
|
|
|
|
|
Thanks for your help Mark.It works. its an easy solution. but i cant think it
|
|
|
|
|
Hi,
I am making a customized Save as Dialog. I am unable to get the hierarchy of the files and directories in the Combo Box.
How will i get the browse information, that is the hierarchy of all the files and the folders, in the dropdown Combobox ???
Anu
|
|
|
|
|
Can I get a tip on what I need to change in this program
exams=50% quizzes=10% daily=10% assign=30%
include <stdio.h>
void main (void)
{
double gpa,exam,quiz,assign,prof;
printf("\n enter the exam grade:");
scanf("%lf", &exam);
printf("\n enter the quiz grade:");
scanf("%lf",& quiz);
printf("\n enter the daily grade:");
scanf("%lf",& daily);
printf("\n enter the assign grade:");
scanf("%lf",& assign);
gpa=((exam*.6)+(quiz*.4)+(daily*8)(assign*.6);
printf("\n the gpa is %.2lf", gpa);
}
|
|
|
|
|
Compile it, the compiler wil give you the tip.
<italic>Work hard, Work effectively.
|
|
|
|
|
Thank you I compile it is there some way I can find out ehat the arror mean
|
|
|
|
|
keithbg wrote:
Thank you I compile it is there some way I can find out ehat the arror mean
First of all, you haven't stated what the error is. So there's no way we could know.
And it seems you replied to my other message and then deleted the reply, since I got an e-mail. I'll respond to it here:
keithbg wrote:
I so sorry sir I did not know asking for a tip on how to fix a problem was wanting someone to do work for me. KISS!!!!
In your original message you're not saying what is the problem you are having. The code is very simple, and any decent programmer should get it just by looking at it, which leads me to believe that it's a homework assignment for a programming class. I'm OK with that.
But, you are no asking for tip on how to fix a problem; you're asking for your code to be fixed. If you had asked like this:
I'm working on a homework assignment about calculating an GPA for a student based on
these percetages: exam 50%, quiz 20% and assignments 30%. This is the code I have right
now:
<code>[code goes here...]</code>
I'm having a problem because when I can't make the GPA be correct. If I enter 80,
80 and 80 I should get 80 but somehow I get 113.5. Any ideas?
Thanks,
Keith. I'm sure you immediately would get a polite answer with someone suggesting that you check the formula. Do you see the difference?
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
|
|
|
|
|
Try asking in the C# forum.... oh, wait, you already did that[^]!!!
Sorry, but cross-posting in different forums is considered bad manners. And asking for someone to do your homework is worse!
It's homework, try to do it, and if you get stuck, then ask a *specific* question. "Help me with this program" will get you nowhere, specially on simple homework assignments like this.
-- LuisR
P.S. By the way, check your code, the error is *really* easy to spot!
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
|
|
|
|
|
I'm writing an Addin for Word 2000 using ATL.
How do I disable and enable MS Word's spell check engine programatically??
Please I need a quick solution.
God Bless anyone who can help me..
|
|
|
|
|
Basically I need to send the following VB command:
ActiveWorkbook.Names.Add Name:="Limits_V26x", RefersToR1C1:= _
"=V26x!R3C1:R1000C21"
in some way, shape, style, or form. From a VC++ project.
I have other code in same project that refer to excel.h, and I would be happy to use it. But I can not decypher or translate this command into a VC++ command.
All help is greatly appreciated.
Thank you for your time
|
|
|
|
|
Is there a way by which I can redirect a request from my IIS to some page on another IIS without letting the client know about it?
I have implemented an ISAPI filter on my IIS, which scans incoming traffic and redirects all coldfusion page requests (.cfm) to www.codeproject.com
The way I went about it is as follows:
1)Create a new ISAPI project using vc++ 6.0/MFC
2)Overload CRedirectorFilter::OnPreprocHeaders(..) - it scans for .cfm requests, and sets a flag.
3)Overload CRedirectorFilter::OnSendRawData(..) - it checks the flag set above and sends a HTTP 302 response back to the client:
DWORD CRedirectorFilter::OnSendRawData(CHttpFilterContext* pCtxt,
PHTTP_FILTER_RAW_DATA pRawData)
{
// if we get a .cfm request, redirect it.
if (bRedirect)
{
char chHeader[] = "HTTP/1.0 302 Redirect\r\nContent-Type: \
text/html\r\nLocation: http://www.codeproject.com\r\n\r\n";
DWORD dwchHeader = sizeof(chHeader);
pCtxt->WriteClient(chHeader, &dwchHeader, NULL);
}
return SF_STATUS_REQ_NEXT_NOTIFICATION;
}
After posting a 302 response, the client browser redirects to www.codeproject.com, and displays the URL. Is there some way we can avoid displaying the new url?
I.e. If I hit http://localhost/test.cfm, the browser should show the same url even after it redirects to www.codeproject.com.
Is that possible?
Thanks in advance,
Pratz
|
|
|
|
|
I am working on a VB application that use a control that I wrote 2 months ago. When I tried to recreate the .exe, about 30-minutes ago, it informed me that it could not load a control. When I tried to close VB, it asked me if I wanted to save a source/module that has not been modified in 2-weeks. That module/form is the one that needed the control. I closed without saving, restarted the system, then brought up VC++ and tried to use the ActiveX Test Container and received the following: "Failed to create control: Unspecified error".
I've tried rebuilding the control (VC++ says it registerd the control), but I still get the same message. I am the only one who has access to the control, and has it registed; even though it is on the server. (Heck! I am the only one who knows where it is at.)
Does anyone know what the <blank> is going on here?
Everything was fine an hour ago!
Signed: John R. Shaw
|
|
|
|
|
Hi,
how can I send audio raw data to the Audio Device ?
Yours sincerely,
RedDragon2kx
|
|
|
|
|
|
I want to fill in an edit box, but not in my dialog, but in a different application. How can I fill in an edit box in an another application?
And how can I push a button in a different program?
Thanks in advance!
|
|
|
|