PC Review


Reply
Thread Tools Rate Thread

blue background, bigger resolution

 
 
Karoly Vaczko (FM)
Guest
Posts: n/a
 
      1st Aug 2005
Gentlemen,

I created a DOS shell-based Minlogon image. After adding some networking
components into the design, I realized that some components require
dialog boxes to show. But it is not a problem at all.

However, once it became like that, the DOS screen resolution from 80x25
changed to (don't know exactly) app. 132x80. First question: Is there a
way to change it back to 80x25?

Second issue: whenever XPe shows something on the GUI (for instance
rundll32 netshell.dll hrrenameConnection - typo in the line) it turns to
the GUI, shows the error dialog. This is again OK (however, I don't like
that). Question: Is there a way to get rid of the GUI part without
making too much trouble OR if not, is there a way, to replace at least
the blue background of the GUI to a bitmap? I tried already to catch
with regmon an XPPro background replacement, but it replaces a key which
(seem to) belong to Plus! that is obviously not in my image.

Thanks for your replies in advance.

Best regards,


Karoly
 
Reply With Quote
 
 
 
 
KM
Guest
Posts: n/a
 
      1st Aug 2005
Karoly,

1) Are you talking about the text full-screen mode of Windows console?
Don't know why you see the issue with the changing dimensions but you can easy fix it with API call.
SetConsoleDisplayMode( ..., CONSOLE_FULLSCREEN_MODE, <new COORDS>) will do that for you. Just make sure to pass the required the new
dimensions of the screen buffer, in characters (80x25).
Also, for debugging purposes you can test the current screen buffer dimensions for the console with a call to GetConsoleDisplayMode.

To get a hnadle to the required console with AttachConsole, or with CreateConsoleScreenBuffer/SetConsoleActiveScreenBuffer pair. Or
create the console from your own app (would be the best from control point of view) - AllocConsole/CreateConsoleScreenBuffer/etc..

Some helpful info about the console APIs: http://msdn.microsoft.com/library/en..._functions.asp

2) Windows is GUI OS so, theoretically, you can't get rid of the all GUI stuff (unless you don't work in Win32).
However, you can make your life easier if you at least get read of all the errors/message boxes/etc.. Read this tip page:
http://msdn.microsoft.com/embedded/c...s/default.aspx

As to the background, you should set (change) the following reg.value: [HKEY_USERS\.DEFAULT\Control Panel\Desktop],"Wallpaper". Set
it to the path of your bitmap.

Also setting [HKLM\SOFTWARE\Microsoft\Wind*ows\CurrentVersion\policies\s*ystem], "DisableStatusMessages"=dword:*1 value would help
you to get rid of MS startup and shutdown messages ("Loading ...", "Shutting down ..").

You may also want to remove MS Boot Logo screen. Then play with /bootlogo switch in boot.ini (search NG for more info).

--
Regards,
KM

> Gentlemen,
>
> I created a DOS shell-based Minlogon image. After adding some networking components into the design, I realized that some
> components require dialog boxes to show. But it is not a problem at all.
>
> However, once it became like that, the DOS screen resolution from 80x25 changed to (don't know exactly) app. 132x80. First
> question: Is there a way to change it back to 80x25?
>
> Second issue: whenever XPe shows something on the GUI (for instance rundll32 netshell.dll hrrenameConnection - typo in the line)
> it turns to the GUI, shows the error dialog. This is again OK (however, I don't like that). Question: Is there a way to get rid of
> the GUI part without making too much trouble OR if not, is there a way, to replace at least the blue background of the GUI to a
> bitmap? I tried already to catch with regmon an XPPro background replacement, but it replaces a key which (seem to) belong to
> Plus! that is obviously not in my image.
>
> Thanks for your replies in advance.
>
> Best regards,
>
>
> Karoly



 
Reply With Quote
 
MJ
Guest
Posts: n/a
 
      8th Aug 2005
I'm having a similar problem - I have a custom shell with MinLogon. I
was able to turn off the Windows startup displays, but for about 20
seconds before my custom shell starts, there is a blue background. I
would like it to be black. How can I force windows so stay black?

Thanks
MJ

 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      12th Aug 2005
MJ,

See my previous post in this thread for more details info.
Provide a black bitmap image for the [HKEY_USERS\.DEFAULT\Control Panel\Desktop],"Wallpaper".

--
Regards,
KM


> I'm having a similar problem - I have a custom shell with MinLogon. I
> was able to turn off the Windows startup displays, but for about 20
> seconds before my custom shell starts, there is a blue background. I
> would like it to be black. How can I force windows so stay black?
>
> Thanks
> MJ
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to force a bigger screen resolution? Tae Song Windows Vista Hardware 5 21st Jun 2009 01:20 PM
Re: How to force a bigger screen resolution? Curious Windows Vista Hardware 0 20th Jun 2009 07:59 PM
Re: How to force a bigger screen resolution? Malke Windows Vista Hardware 0 20th Jun 2009 07:28 PM
scaling UI (higher resolution => bigger buttons + bigger font) Johan Microsoft Dot NET Framework Forms 0 1st Oct 2007 02:38 PM
start bar bigger than screen resolution =?Utf-8?B?c3RhcnQgYmFyIHN0cmV0Y2hlcyBwYXN0IHJlc29s Windows XP General 0 7th Sep 2004 02:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:05 PM.