|
I have come across a heated debate of preventing interactive services in Vista too.
The problem is that if we configure the service under a domain account ;it ceases to be interactive.
The only way a service can be interactive is with 'localsystem' privileges.Am i wrong on this?
FYI - Also,this setup works fine on Xp(Sp2) and 2000.In 2003,a normal navigatino works - but a redirection doesnt.
|
|
|
|
|
I am trying to output some bullet points to my dialog. Anyone know how to code this using CString/strings, etc.?
|
|
|
|
|
goodoljosh1980 wrote: bullet points
You mean bullet text or are you talking radio buttons?
led mike
|
|
|
|
|
|
I believe those are just character codes
·• See
·• Like
·• This
led mike
|
|
|
|
|
you mean like ascii codes? How do I insert them into a CString?
|
|
|
|
|
that is, I can't find bullet points in the ASCII chart, if you have the value let me know and I can insert them using the CString::AddChar() function, I think.
|
|
|
|
|
goodoljosh1980 wrote: in the ASCII chart
Yeah that won't help because they might be FONT specific. Try the Windows Character Map tool since it allows you to set the font.
led mike
|
|
|
|
|
Can't you just use an asterisk?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Or just paint them yourself!
led mike
|
|
|
|
|
asterisks look more like bullet holes to me *
|
|
|
|
|
Do any of you guys know of a control which allows you to capture key combinations, and then present them in a human readable format? For instance, if I click the control, and then hit Win+F, it'll present Win+F.
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|
|
OnKeyDown
led mike
|
|
|
|
|
I'm already investigating various possibilities... The problem with OnKeyDown (if my memory serves me right), I won't get Alt/Ctrl/Shift-keys. I'm currently playing with a thread local keyboard hook. So far, so good. Now I just have to figure out when a keypress ends. (Which isn't as trivial as it may seem it turned out)
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|
|
That is what I remember as well. I would think down and up might need to be trapped depending on the requirements. I know you can handle it though.
led mike
|
|
|
|
|
The thing with hooks is that you can trap pretty much anything, except Win-key combos. No meddling with PreTranslateMessage() required.
But it'll just have to wait until monday. It's 17:15 here now, and that means that I'm out of here!
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|
|
Joergen Sigvardsson wrote: that means that I'm out of here!
Have a great weekend! It's Super Bowl weekend for us so PARTY TIME!
led mike
|
|
|
|
|
|
Hohoho! I did some searching and found CHotKeyCtrl/msctls_hotkey32! I had no idea that such a thing existed as part of Windows.. Thanks mate! I owe you one!
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|
|
No problemo The one negative is that the hotkey control doesn't recognize the Windows key - I just checked on Vista and the shell picks up the Windows key and doesn't let the hotkey control see it.
|
|
|
|
|
Yep, I just whipped up a test app (it was sitting in the MFC toolbox all the time! ). I can live without the Win-key though.
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|
|
Hi
I´ve got the following doubt. I ñve got a datagrid that can be sorted. I have attached a dataset.
For example.
DataSet ds = new DataSet("JAMONES");
ds.COLUMN(nombre);
ds.COLUMN(id);
I have associated a ArrayList with all the JAMONES. I would like to delete the selected JAMON from JAMONES using the id. How can i do to indexed easily the ArrayList?
ArrayList jamones = {jamon1, jamon2};
DataGrid jaomnesDG = {jamon2, jamon1}.
I tried to delete jamon1. How can i delte from jamones.
Best regards,
John
|
|
|
|
|
Did I miss something? There is a "DataSet" in MFC?
led mike
|
|
|
|
|
I have a single document application with a custom GUI. When the user starts the program I calculate the width of the screen and then I place my GUI in the middle of the screen based on the retrieved int-value that decides the x-coordinate.
I've discovered now that users are confused by the fact that the area where they work is located at screen center but the Windows menu with File Edit... etc. is located in the top left.
Due to other reasons I can't just make the application window as big as the GUI, the GUI must be centered in a full screen window.
So, how do I offset the choices in the Menu (File, Edit, etc.) so that it's centered above the GUI?
|
|
|
|
|
sortegrip wrote: ...the GUI must be centered in a full screen window.
So why not just call CenterWindow() ?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|