|
Here's the definition from MSDN:
A Graphical Identification and Authentication dynamic-link library (DLL). The GINA is a replaceable DLL component that is loaded by the Winlogon executable. The GINA implements the authentication policy of the interactive logon model and is expected to perform all identification and authentication user interactions.
If there's any reasonable hope of extending/modifying the logon/logoff process implemented in Windows, it would be my guess that implementing a custom GINA would be your best best. I don't personally have hands-on experience with this (although guys on my team do), but I'd encourage you to research this to get started.
David
http://www.dundas.com
|
|
|
|
|
I'm sorry, me again. I tried to modify the WM_ERASEBKGND line in my dialog program so I can change the bg color, but when I go into the class wizard and to the message maps tab I can't find the WM_ERASEBKGND anywhere. I DO know where it is supposed to be, but it isn't there. Any thoughts?
|
|
|
|
|
It's there, if you can't see it, you must be looking at a class that does not support it. Class Wizard has an annoying habit of not coming up with the class you were using in the main view selected....
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
All I have is my dialog box, completely unaltered. Is there a way to get the WM_ERASEBKGND into the message list of the class wizard?
|
|
|
|
|
Yes. Click the "Class Info" tab in Class Wizard and set the Message Filter to "Window". Return to the "Message Map" tab and voila! You'll see many more messages in the Messages list box.
/ravi
"There is always one more bug..."
ravib@ravib.com
http://www.ravib.com
|
|
|
|
|
Thanks a lot!! That did the trick!
|
|
|
|
|
I have an edit box that when someone places text into it and licks a button, whatever they wrote will be displayed in a MessageBox. This is supposed to be just a quick simple program, but I need to complicate things a little. I was wondering how I can clear the edit box after the text is displayed in the MessageBox. The best I seem to be able to do is have the edit box clear just beofre the MessageBox comes up, even though I have the code for clearing the Edit box placed after the MessageBox command. Any help would be appreciated.
|
|
|
|
|
Put SetDlgItemText(IDC_EDIT, ""); prior to the MessageBox() or AfxMessageBox() call.
"Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
|
|
|
|
|
Thanks a lot, that WAS pretty simple, huh?
|
|
|
|
|
How do you get the user to lick a button?
/ravi
"There is always one more bug..."
ravib@ravib.com
http://www.ravib.com
|
|
|
|
|
Ravi Bhavnani wrote:
How do you get the user to lick a button?
User sticks out tongue, leans forward towards the monitor, and licks the button. Simple eh?
---
Sonork 100.11743 Chicken Little
It may be that your sole purpose in life is simply to serve as a warning to others.
|
|
|
|
|
I knew my investment in a touch screen would pay off someday!
James
Sonork ID: 100.11138 - Hasaki
"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. " - Michael P Butler Jan. 18, 2002
|
|
|
|
|
I need to clean my mind out with soap and water. A touch screen with the WM_LICK message - I think I've got a wonderful idea to sell to the pr0n sites
Michael
|
|
|
|
|
How do you do left-licks and right-licks?
Double licks I can understand, but again will they be left-double licks or right ones?
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
We must be in the Mac forum
James
Sonork ID: 100.11138 - Hasaki
"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. " - Michael P Butler Jan. 18, 2002
|
|
|
|
|
That's what I thought!
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
due to the genetic nature of my being (hehe ... a chic) i won't comment on how it doesn't surprise me that guys don't know much about these things
---
"every year we invent better idiot proof systems and every year they invent better idiots ... and the linux zealots still aren't being sterilized"
|
|
|
|
|
|
I am trying to hide the scrollbar(s) in a CHtmlView without success. I have tried the following:
In PreCreateWindow:
cs.style ^= WS_VSCROLL;
In OnInitialUpdate:
ModifyStyle(WS_VSCROLL,0);
and
ShowScrollBar(SB_VERT,false);
and
CScrollBar* pSB=AfxGetMainWnd()->GetScrollBarCtrl(SB_VERT);
returns NULL
as do
CScrollBar* pSB=GetScrollBarCtrl(SB_VERT);
What is the correct way of doing this?
Thank you in advance!
|
|
|
|
|
As far as a know you cannot do that, because the scroll bar belongs to the WebBrowser control . For details about hosting MSHTML you should check for IDocHostUIHandler , IDocHostShowUI interfaces ( or something like that ) in Internet Dev. SDK
|
|
|
|
|
You need to get a pointer to the internal document of the view and set its scroll to 'no'.
___________
Klaus
[www.vbbox.com]
|
|
|
|
|
Thank you for the answer.
I still don't know how to get the pointer to the internal document and set its scroll. Could you present the lines of code necessary to do that?
|
|
|
|
|
The Webbrowser control queries the
application COleControlSite for an interface
called XDocHostUIHandler.
Get the 'driller' sample from msdn which
implements this control.
If it founds it, it calls the method GetHostInfo(DOCHOSTUIINFO* pInfo );
In there, you have to put the following code:
pInfo->dwFlags = DOCHOSTUIFLAG_SCROLL_NO;
XDocHostUIHandler is good for setting other properties
of the control and also for disable or replacing the
context menu of the browser.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
Thanks a lot. This solved my problem. I only had to orverride CHtmlView::OnGetHostInfo(). FYI, here is all the code I had to add:
HRESULT CYourView::OnGetHostInfo(DOCHOSTUIINFO* pInfo)
{
pInfo->dwFlags = DOCHOSTUIFLAG_SCROLL_NO;
// default indicates we don't have info
return S_OK;
}
|
|
|
|
|
I didn't know that CHtmlView had that fuction.
I was ready to use other way in an application,
but this is much more simple.
Thanks for mention it.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
|
|
|
|