How to find out whether i'm in window or web!!!?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Vadivel Kumar (donotreply_at_spam-i-love-u.com)
Date: 02/22/05


Date: Tue, 22 Feb 2005 15:56:48 +0530

Hi folks,

I'm writing a framework in C# which will be my business facade object
consists
of all data layer, BL etc.,

Now the deal is, my client doesn't have any idea of whether making the
presentation layer
as a web interface or window interface, that's make a challenging effort for
me now. In some part of my code, I have to identify whether the framework is
deployed in window or web interface.

So, the question is how to find out whether it is window or web interface
from my framework?

Cheers!
Vadivel Kumar



Relevant Pages

  • Re: How to find out whether im in window or web!!!?
    ... > of all data layer, BL etc., ... > as a web interface or window interface, ... In some part of my code, I have to identify whether the framework ... > deployed in window or web interface. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Device Context
    ... It's not something that the framework really "knows" about. ... The IntPtr you get back from GetHdcis only useful when passed to unmanaged code. ... You can create DCs for other devices, but I'm not aware of any general purpose way, except WM_PRINT and WM_PRINTCLIENT, to have a window draw to a specific DC. ... This is not actually hard to do for your own window class, since you would be writing the call to BeginPaint, and likewise you could simply change the OnPaintmethod in a managed class so that it uses a DC of your own choosing. ...
    (microsoft.public.dotnet.languages.csharp)
  • Which pattern does this conform to?
    ... I've been struggling lately while designing a framework, so ... ] package AbstractWidgets; ... ] interface AbstractFactory { ... ] Window getWindow(); ...
    (comp.object)
  • Re: help with thunk implementation for armV4
    ... implement a simple object oriented framework for managing win32 windows ... management to each window. ... have made a conscious design decision not to use. ... This framework ive put together really is very simple - to the point ...
    (microsoft.public.windowsce.app.development)
  • Re: Microsoft.WindowsCE.Forms Namespace
    ... MessageWindow is a special Compact Framework class that allows you to ... might need to send a message to a window to indicate something. ... when it doesn't run on an operating system for which it was not ...
    (microsoft.public.windowsce.embedded)