荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: tang (独孤九剑), 信区: Program
标  题: MSVC Digest - 20 May 1998 to 21
发信站: BBS 荔园晨风站 (Mon May 25 18:14:02 1998), 转信

There are 10 messages totalling 301 lines in this issue.

Topics of the day:

  1. Aha - Windows NT Service Program (4)
  2. Virtual Constructors (2)
  3. <No subject given>
  4. OnCtlColor Problems
  5. Font size problems
  6. Why cann't my control be downloaded?

--------------------------------------------------------------------------
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription info and archives,
see http://peach.ease.lsoft.com/archives/msvc.html .  For LISTSERV sales
information, see http://www.lsoft.com or write to SALES@LSOFT.COM.

----------------------------------------------------------------------

Date:    Thu, 21 May 1998 10:04:43 +0800
From:    Aha _ <lu.louie@INVENTEC.COM.TW>
Subject: Aha - Windows NT Service Program

     Hi,

         Windows NT

         Does anybody know how to write a service program for windows NT?

         Thank you for your help?

     Aha.

------------------------------

Date:    Thu, 21 May 1998 09:13:23 +0300
From:    Serge Darii <serged@PETROLBANK.COM>
Subject: Re: Aha - Windows NT Service Program

To write a service for Windows NT your can use SDK/DDK.
If your are using MS Visual C++ it can be done more ease :
In order to generate Service Project you can use ATL COM AtlWizard  and in
a dialog box which will appear in "Server Type" group box select the
"Sevice (Exe)" item.After this, if you consult atl help you will do what
you want.

Serge

Aha_ wrote
>Hi,
>
>       Windows NT
>
>         Does anybody know how to write a service program for windows NT?
>
>         Thank you for your help?
>
>     Aha.

------------------------------

Date:    Thu, 21 May 1998 11:43:14 +0530
From:    Venkataseshu Srikanth <venkataseshu.srikanth@AP.DEUBA.COM>
Subject: Virtual Constructors

Hi ,
            Can someone tell me what a Virtual Constructor is ?

Thanks in advance
Srikanth.V

------------------------------

Date:    Thu, 21 May 1998 09:20:20 -0400
From:    Robert Twitty <rtwitty@USHMM.ORG>
Subject: Re: Aha - Windows NT Service Program

On Thu, 21 May 1998, Aha _ wrote:

>      Hi,
>
>          Windows NT
>
>          Does anybody know how to write a service program for windows NT?
>
>          Thank you for your help?
>
>      Aha.
>
Go to http://premium.microsoft.com/msdn/library/techart/msdn_ntservic.htm

-- bob

------------------------------

Date:    Thu, 21 May 1998 19:44:58 +0530
From:    Pavan Kumar Chekuri <Pavan@INDOSOFT.STPH.NET>
Subject: <No subject given>

Hi guys,

I have used WNetGetConnection API to get the name of the network
resource
connected from the local machine. Can't we get the name of the network
resource that are connected to the local machine?May be I am talking
something foolish,is it possible? Please help me.

Thank you in advance.

pavan

------------------------------

Date:    Thu, 21 May 1998 14:51:36 -0400
From:    "Charles R. Derk, Jr." <CharlieD@ADTAKER.COM>
Subject: OnCtlColor Problems

I posted a message before about a problem I'm having with OnCtlColor.  I
cannot seem to change the text color of disabled controls.

I am making this as easy as possible.  I tried to turn everything on a
form blue with the following code...

HBRUSH CAd32CustView::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
        HBRUSH hbr = CFormView::OnCtlColor(pDC, pWnd, nCtlColor);
        pDC->SetTextColor(RGB(0, 0, 255));      // blue

        return hbr;
}


All the text DID turn blue - EXCEPT the text in the disabled controls.
Someone suggested I had to use CTLCOLOR_STATIC for disabled controls...
but I've even removed the comparison of nCtlColor.

Can anyone help?

Than
--
        There are these few times I feel lonely for you.
        But I know this shade of blue will soon pass through!
        I must be strong without you by my side!
        I can see forever you are my light.

※ 来源:.BBS 荔园晨风站 bbs.szu.edu.cn.[FROM: 192.168.0.4]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店