|
Hi all,
I have one doubt in creating the wizards using property sheets. In my application i created the three property pages (dialog) with the size of 250x175. But whenever i included with the property sheet, i can't fix the size of the property sheet. How can i rearrange size property sheet.
And i have one more doubt.. Whether it is possible to place the "Back" and "Next" button in the customized position. I would like to place the "Back" button on the Top Left corner and "Next" button on the Top right corner. Whether it is possible ?
Waiting for ur reply
Regards,
Prakash
A Journey of thousand miles must begin with a single step.
|
|
|
|
|
The size of a property sheet is governed by the size of the largest property page. Are you wanting to differ from that?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Hi,
Can anyone point me to some tools that would allow for simulating stress tests: excessive memory, resource handle usage for e.g.
We're running into issues related at production site & are trying to reproduce similar conditions in a test lab environment.
TIA
Chen Venkataraman
|
|
|
|
|
I am trying to learn DirectX DirectDraw, but when ever I include ddraw.h I get ambiguous symbol errors. The errors point to the following files and items:
ObjIdl.h
BIND_OPTS
STATSTG
RpcAsync.h
FILETIME
ServProv.h
IServiceProvider
I do not get these errors if I comment out the ddraw.h.
Any help would be great.
|
|
|
|
|
CANT SAY 4 SURE BUT JUST TRY THE FOLLOWING:
Make sure you have included the appropriate library files in your project.
In VC++ IDE, Select PROJECT>SETTINGS>LINK
Then add these library fils to the list of existing files:
1.ddraw.lib
2.dxguid.lib
Another problem may be with the static compile option. Make sure u havent included ddraw.h in any other file of ur project.
...Avenger
Remember... testing & debugging are always part of programming ...so exterminate those stinking bugs
|
|
|
|
|
Hi all,
I have written a simple service and would like to debug it with VC++. Is this possible? So far I have only managed to do it by installing a low-level debugger but that's a bit akward to use.
Thanks,
Mark
|
|
|
|
|
YOu can attach yto a process using VC - if you're using v6.0 then select Build|Start Debug|Attach to Process and check the Show System Proceses button to see your service... then once attached, you can break and set breakpoints, etc.
The Rob Blog
|
|
|
|
|
You might want to make sure your service is set to interact with the desktop, it makes things go a bit easier while debugging with the Visual Studio debugger.
|
|
|
|
|
Hi,
I would appreciate if anyone could help me with determination of installed MS Office service packs.. (Programmatically of course)
Thanks in advance
Yeghia
|
|
|
|
|
Hi,
I would appreciate if anyone could help me with determination of installed MS Office service packs.. (Programmatically of course)
Thanks in advance
Yeghia
|
|
|
|
|
Are FSCTL_GET_NTFS_VOLUME_DATA and FSCTL_GET_RETRIEVAL_POINTERS0 valid as dwIoControlCode for DeviceIoControl() on NT4?
The reason I ask is that the Platform Documentation incdicates it is only available on Windows 2000 and XP. However, the include file "winioctl.h" indicates it is available on NT4 and above.
Which is true ?
Has anybody got NT4 with which to verify the solution.
Regards,
Richard
|
|
|
|
|
I'm using the Runtime azroles.dll to implement some Authorization Management stuff on Win2K. I'm trying to implement the example code from MSDN that can be found at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/openprocesstoken.asp
Everything runs fine right up to the call to AccessCheck(...) and there I get E_INVALIDARG with all the parameters set up exactly as in the example code. As I don't have sources, I can't debug and I have no idea which argument is invalid.
Has anyone written any code for this piece (from the MS sample) that works?:
hr = pClientContext->AccessCheck(<br />
objectName,<br />
myVar,<br />
varOperationIdArray,<br />
myVar,
myVar,<br />
myVar,<br />
myVar,<br />
myVar,<br />
&varResultsArray);
Could you show me how you passed in the various arguments?
Many thanks
dave
DaveT
|
|
|
|
|
I've been asked to display a variable's value every 30 seconds on stdout in the same display position on the same line of stdout without advancing the display position. I'm new to C++ and don't know how to begin with this. Please help!
|
|
|
|
|
To go to the start of the line again, simply output a '\r' char...
I see dumb people
|
|
|
|
|
10 lines max with a javascript excluding all tags
|
|
|
|
|
Keylee717 wrote:
That's just a carriage return.
And why do you think it has this name?
Try this code:
for (int i = 0; i < 1000; i++)
{
std::cout << i << '\r';
Sleep(30 * 1000);
}
I see dumb people
|
|
|
|
|
sorry, forgot to mention: windows.h
I see dumb people
|
|
|
|
|
Keylee717 wrote:
It doesn't change the value after 30 seconds though.
Sorry, I didn't understand your problem... Isn't it printing different values each 30 seconds?
I see dumb people
|
|
|
|
|
Keylee717 wrote:
That's just a carriage return. I need to stay on the original line.
Which is what \r does. Had \n also been speciifed, then it would have gone to the beginning of the next line.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
if you are in DOS mode
you can use
gotoxy(x, y) function
like
gotoxy(24, 12);
cout<<"First 30 ";
//30 sec delay logic here
gotoxy(24, 12);
cout<<"Second 30 ";
that will output in the same screen coordinate
The returned pointer may be temporary and should not be stored for later use.
|
|
|
|
|
no, that function doesn't exist under VC++. that is a borland one... forget it, it is a non-standard (non-ANSI) function.
TOXCCT >>> GEII power
|
|
|
|
|
why r all ppl saying about '\r' when there is a smart option of '\b'. IT PUTS A BACKSPACE AND TAKES U WHERE U WERE.
...Avenger
Remember... testing & debugging are always part of programming ...so exterminate those stinking bugs
|
|
|
|
|
Hi all
I have the following problem :
I cannot set dialog items text (like STATIC TEXT) to UNICODE (CWnd::SetWindowText is working but the displayed text is not readable ) .Interesting is that when I call SetWindowText directly on the CDialog the dialog's title is readable , but when I call the same method on any dialog element it will display unreadable text.
Anyone has any idea?
xxx
|
|
|
|
|
Show some sample code of what you are doing
Sonork 100.11743 Chicken Little
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
Within you lies the power for good - Use it!
|
|
|
|
|
How to convert char to CString... ?
ch[0]
ch[1]
ch[2]
to 1 CString
|
|
|
|