|
write all elemtents separated with a ";" in a csv file. That can excel read.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
I have an MFC MDI application, with a view based on a dialog template. When the user clicks a button to start a certain operation, I want to change the cursor, then change it back again when the operation finishes.
If I process OnSetCursor in my main frame, this works nicely, except when the user is over a grid control in my view, where it switches back to the default. I've tried adding the same code to an OnSetCursor in the grid window code, but that doesn't help.
Is there no way to 'lock' a cursor change so that I have control over who or what can change it again? (I can't use SetCapture, it doesn't make sense).
The only other way I can think to get around this would be several awfully kludgey calls to SetSystemCursor to change the default system cursor, running the risk of changing the default system cursor by accident.
Also, if I use my own cursor it potentially won't match the current theme. Is there anyway to take the current cursor and overlay something on top (like a plus sign)? Something akin to icon overlays?
|
|
|
|
|
I'm not a Windows GUI specialist, however the way I understand it, you should choose one of these two models:
1.
your GUI is basically unavailable to the user, so you show a wait cursor, but don't accept the user to point, click, or type in that form (which all would be hard anyway lacking a normal cursor). This would be accomplished by modifying the cursor somehow (don't know the details), and disabling a lot of stuff.
2.
your GUI is fully available except for restarting the ongoing action which should not be started again before it finishes. This gets accomplished by leaving the cursor alone, and simply disabling whatever Control started the action (e.g. disabling a Button, or alternatively changing its function and text, say to "Cancel"). Since Controls look different when disabled or you changed the text, that should at the same time be your clue that the action is still on-going.
Hope this helps.
|
|
|
|
|
This was a request from our users and I'm investigating the possibilities. What they want is more of a status indication I think. That is, they want something at the cursor level to show they are in "Adding" mode (say) or "Creating" mode. This wouldn't impact on the behaviour of the app, just serve as an extra visual cue.
I'm starting to think this isn't worth the effort and there are other cues I could use (and already do, maybe they are just too subtle for my users!)
Cheers,
Dan
|
|
|
|
|
OK, that should be achievable by setting the default cursor belonging to the Control(s) that is/are affected by that state. Which basically would mean you need cursor variants that look pretty much like the original (plus a little addition) so the Control(s) remain fully operational. However it would then only affect this/those Control(s), so when hovering an unrelated Control, nothing special would be noticeable.
I'm pretty sure standard Windows itself or some Microsoft application (Office?) has some examples of this, however none of them come to mind right now. A little Googling resulted in this[^] and this[^]
|
|
|
|
|
Yeah....like I said...probably too much effort (especially as changing the cursor for my main control (the grid) doesn't appear to work anyway)
|
|
|
|
|
i am trying to make a project on payment gateways.
Now ,the person who is guiding me on this project told me to build a socket client and socket server using QT (quick technology).
He also told me some other suff too i.e. some kind of messageing format to use.
I want to say that i don't know anything about this whole thing at present i.e about Qt /messageing format.. but i want to make this a working project by my own .
I need your help to understand the concept.
Please show me he right path.
I knew general c/c++ & little bit of java .
Please suggest me the starting point for my project.
I am not requesting any ready-made code , i am just requesting to help me to start my project by suggesting me the steps that i must take to complete my project.
and one thing more .. i don't know anything about network programming.
please HELP me.....
thanks
|
|
|
|
|
gateway23 wrote: i am trying to make a project on payment gateways.
OK, how much of this[^] do you actually understand?
gateway23 wrote: i don't know anything about network programming.
This is probably not too much of an issue, but you will need to learn something about websites, their creation and maintenance. Try looking into ASP.NET[^], you may even find a ready made solution somewhere in the tutorials.
It's time for a new signature.
|
|
|
|
|
gateway23 wrote: I knew general c/c++ & little bit of java .
well im not experianced programmer but I think Network Programming is very easy with Java. Database can also be handled easily, well its not that easy but still if you know a little bit about jave, you should be able to pick it up quickly.
Personally i like visual studio 200X to program database apps, i love ADO.NET type features. But i have never implemented network programming on VS 200X using C# or VB.
|
|
|
|
|
sir.. i want to complet my project in c/c++ language.
If you any idea idea on socket programming in c/c++ , please suggest me.
|
|
|
|
|
i don't know if i would be any help for you, however you can learn Socket from this site itself, as it have lot of article dealing with sockets.
and about payment gateway, you can read more about ISO 8583 format!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi, i would like to know how to Read byte from USB port and then write the data into file: Can someone help me on this
i have try to modify the ReadByte() but no data was shown. It shown
0.000
0.000
in my output file. I'm out of idea.
Attached the coding:
BOOL CSerialCom::ReadByte(BYTE &resp)
{
BYTE rx;
resp=0;
FILE *ofp;
DWORD dwBytesTransferred=0;
if (ReadFile (hComm, &rx, 1, &dwBytesTransferred, 0))
{
if (dwBytesTransferred == 1)
{
resp=rx;
ofp=fopen("BCISignal.txt","w+");
fprintf(ofp,"%lf\n",resp);
fclose(ofp);
return true;
}
}
return false;
}
FYI, in my hex code, i had configured buffer[4] to send 4 byte datafrom 2 channel. Now i need to read this buffer[4] one by one in SerialCom().
|
|
|
|
|
fprintf(ofp,"%lf\n",resp);
Why are you trying to format a single byte into a long double, it makes no sense? You should write the data as binary or format it into hex characters (with the X format specifier). However you have not really explained what your code is trying to do, so this may not be the actual solution you need.
Please also edit your post and put <pre></pre> tags around your code.
It's time for a new signature.
|
|
|
|
|
I am writing an application that outputs information to the standard output. Messages to the user can come from different process and so I use EnterCriticalSection to this. But I want a way through which the last process that outputs information can switch to the last screen information. The application is written in C++. Is it possible, if yes how do I do it.
I also want to know if the header file "process.h" is a Windows file or is part of the ANSI C/C++ standard header files. Thanks.
|
|
|
|
|
i have this problem someone can help me?
|
|
|
|
|
My guess is probably not.
|
|
|
|
|
Read and follow this[^]. Otherwise you will always get the answers you got from Rick or Walt. Who is supposed to help you when you don't explain what the problem is?
Edit: Corrected link
|
|
|
|
|
bad advice, your link is wrong.
|
|
|
|
|
|
Excellent advice.
|
|
|
|
|
The line between failure and success is so thin...
|
|
|
|
|
I have this solution, does it help? You should try explaining your problem otherwise noone will be able to tell you if they can help or not, not to mention being willing to...
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <
|
|
|
|
|
i have problem with file sql someone can help me please
|
|
|
|
|
Would you be willing to give us a hint as to what the problem might be? Or are we supposed to guess?
I apologize, but my psychic powers aren't 100% right now.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|