|
I see what you mean. Looking at it again, it only does resizing on the windowed-window handle.
I'm not sure why they bother removing the border and menu and stuff
Whatever, isn't the window irrelevent in fullscreen mode anyway? In true fullscreen mode the
device has complete control of the screen, often in an entirely different video mode, right?
WalderMort wrote: To be honest, I have got so fed up with the sheer size of that file, and it's methods of doing things, that I have completely re-written it ( C++ style ).
Yeah I personally never learn. Every time I use a new SDK I'll get something up and
running, and if I'm using some handy provided base class/sample code, I ALWAYS end up having to
roll my own.
Good luck with the debugging!
|
|
|
|
|
Mark Salsbery wrote: Whatever, isn't the window irrelevent in fullscreen mode anyway? In true fullscreen mode the
device has complete control of the screen, often in an entirely different video mode, right?
Well thats what I thought, especially with something like D3D. But just about every sample I have found moves/ resizes the window and removes the borders. In my opion that is just a fullscreen "illusion".
|
|
|
|
|
I've tried posting this on the hardware forum, but am not getting any replies - So I thought that I would ask here (as it's both a hardware and software problem !!)
Most BIOS allow the automatic power-on time to be set to a particular day and time. However, this is very inflexible as it requires manual intervention to make changes. Some PVR programs have the facility to power on the system at variable times, so I feel that there MUST be a way for a program to access these registers dynamically. Does anyone have any details, or alternatively, point me in the right direction for more information. Thanks in advance for any suggestions !
Doug
Doug
|
|
|
|
|
See if PoRequestPowerIrp() and IRP_MN_WAIT_WAKE are of any help.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Thanks David - looks as though I'll have to find out something about kernel mode drivers then !! ??
Doug
|
|
|
|
|
Hello there,
I 've already make a Visual Studio .net 2005 c++ Windows Form application. Unfortunately I realise that there is not option "Publish" at Built Menu.
Can you help me?
How can I publish this application?
Dimigini
|
|
|
|
|
<dict>
<key>_dataType
<string>SPHardwareDataType
<key>_detailLevel
<string>-2
<key>_items
i am having an xml file similiar to the one shown above. any one knows the c code to read this content and writ in a file as
dataType#SPHardwareDataType#
detailLevel#2#
i tried this but in vain. please help me.
thanx in advance
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
Hi, please use < and > for < and >
Then search for a C library on google for reading / writing xml, or write your own parser.
Company policy : no access to the internet but CP
~RaGE()
|
|
|
|
|
For reading XML, you can use TinyXML.
|
|
|
|
|
If you need to just grab a few items from a small XML stream that has a static definition, you can just load it (i.e. fread(...) ) the entire file into memory and just look for the tags of interest using normal string functions.
If you need to parse and/or validate the XML stream, I would look for an existing XML package.
I have seen "developers" break out a full DOM implementation of MSXML just to read a three attributes from a 2KB XML file. Complete Overkill to break out COM and Unicode strings for something like that, if you ask me... (And yes, I know that you did not ask me ) Damn thing took longer to load, parse and DOM-ize the XML document than to actually extract the attributes from it!
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
You mean:
<dict>
<key>_dataType</key>
<string>SPHardwareDataType</string>
<key>_detailLevel</key>
<string>-2</string>
<key>_items</key>
</dict>
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Another vote for TinyXML. It rocks.
/ravi
|
|
|
|
|
Hi,
For some hkeys the CryptDeriveKey API does not give proper encrypation.
Give me the Solution.
Thanks in advance
The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.
|
|
|
|
|
Mahesh KulkarniFor some hkeys the CryptDeriveKey API does not give proper encrypation.
So don't use those hkeys!
What are you referring to? Do you have an example?
|
|
|
|
|
If the number is 24.58.
How to round of it as 25?
If the number is 24.34
How to round of as 24.
|
|
|
|
|
|
Hello,
<br />
double round(double Num, double Seed)<br />
{<br />
double fac = Num / Seed;<br />
<br />
fac = (fac < 0) ? (ceil(fac - 0.5)) : (floor(fac + 0.5));<br />
<br />
return fac * Seed;<br />
}<br />
round(3.7856, 0.001); = 3.786
Hope this helps.
Bekir
|
|
|
|
|
Try this method
int nRoundFigure;
nRoundFigure = (int)( 24.58 + 0.5 ); // Answer will be 25
nRoundFigure = (int)( 24.34 + 0.5 ); // Answer will be 24
Hope this will work
Known is a drop, unknown is an ocean
|
|
|
|
|
Hi,
I am using WebBrowser control to display the HTML help files. My html help files contains some graphics like jpg and png images. When user tries to drag and drop the items from the help pages the WebBrowser control gives debug assertion error. How can I disable this Drag and Drop facility?
I am also setting the RegisterAsDropTarget(VARIENT_FALSE)at runtime after the control in created, but still allowes to cdrag and drop the images.
How can I disable this Drag and Drop facility?
Regards,
Hemant.
|
|
|
|
|
I do not know of any way to do this... If you can get notification of the D&D operation, you may be able to inhibit it, but I am not sure if the WB control gives you that information (easily, if at all).
It might be worth finding out why you are getting the assert, and solving that problem.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
hi,
does anyone know if I can record just, for example right channel using direct sound?
Is there any direct sound function where I select which channel i want to get.
thank you
viliam
|
|
|
|
|
Set the capture format to whatever multi-channel format you are capturing.
The recording format would be single channel of same sample-rate/bits-per-sample as the capture
format (you could, of course, convert the source samples to a different format as well).
The source samples for each channel will be interleaved. If capturing 2 channel 16-bit audio
you'd have two bytes left, two bytes right, two bytes left, etc. If you wanted just to record
just the right channel then just write the right-channel samples.
Make sense?
Mark
|
|
|
|
|
I have an app (that I've developped) running on my windows mobile PDA. When I have a wifi connection, it works a treat [*].
But I don't want my end user to have to use the wireless manager, make a connection, then switch to my app.
Is there a way for my app to kick off the wireless connection? I've done a ton of searching, and can't find an API.
I'm guessing its not quite as simple as WIFI_Make_Iain_Connection () , but a pointer towards the right API commands would be greatly appreciated. If nothing else, it would give me more useful search terms. Heck, sample code would be even nicer, but not necessary.
My next fun challenge is making a today page app to launch my main one....
Iain.
[*] big thanks to Marco Zaratti and his CCESocket: a general purpose TCP/UDP socket class for WinCE[^] article.
|
|
|
|
|
Is there any API or method to enumerate shared folders/drives on the Win2K/NT/XP machine?
VirtuallEye
|
|
|
|
|
Is NetShareEnum and then NetShareGetInfo helpfuls
|
|
|
|