Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Trying To Learn Some MFC: "Visual C++ .NET Bible" and having some problems Pin
Tom Archer22-Aug-03 13:10
Tom Archer22-Aug-03 13:10 
GeneralRe: Trying To Learn Some MFC: "Visual C++ .NET Bible" and having some problems Pin
Rohde22-Aug-03 13:21
Rohde22-Aug-03 13:21 
QuestionPrint Preview Text smaller than regular printing output? Pin
Bart-Man22-Aug-03 6:34
Bart-Man22-Aug-03 6:34 
Generaltool bars Pin
NGS 54967222-Aug-03 6:14
NGS 54967222-Aug-03 6:14 
GeneralRe: tool bars Pin
Marissa18222-Aug-03 13:15
Marissa18222-Aug-03 13:15 
GeneralMS Web Browser activeX issue Pin
dorutzu22-Aug-03 6:01
dorutzu22-Aug-03 6:01 
GeneralRe: MS Web Browser activeX issue Pin
coolvcguy22-Aug-03 6:15
coolvcguy22-Aug-03 6:15 
GeneralRe: MS Web Browser activeX issue Pin
igor196022-Aug-03 12:01
igor196022-Aug-03 12:01 
You probably could use appropriate POST request, but it will require some winsock spying. I assume that site intstalls cookie on authorisation.
However, I would probably go with well tested by me techniques of just writing win32 hook, or spawning a separate thread:
that will wait for:
1. ShowWindow or FindWindow (Caption: "Enter Network Password", class #32770(Dialog));
2. GetDlgItem(0x411) -> should exist, it should be static control and GetWindowText should return "logs.powerhouseprogramming.com";
3. GetDlgItem(0x4C2) -> should exist, it should be edit control and here you SetWindowText to "UserName";
3. GetDlgItem(0x4C3) -> should exist, it should be edit control and here you SetWindowText to "Password";
4. After you've done all 3 above: just Send or PostMessage to the dialog: WM_COMMAND, IDOK --> "OK" button has id=1 (IDOK)...

Use SPY to see if I'm right in above sequence.

Don't blame me, not the best solution: but fast to implement...

Regards


"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
GeneralDisable Recent File Entries Pin
EddieRich22-Aug-03 4:44
EddieRich22-Aug-03 4:44 
GeneralRe: Disable Recent File Entries Pin
David Crow22-Aug-03 7:35
David Crow22-Aug-03 7:35 
GeneralRe: Disable Recent File Entries Pin
Ted Ferenc22-Aug-03 7:43
Ted Ferenc22-Aug-03 7:43 
GeneralRe: Disable Recent File Entries Pin
EddieRich22-Aug-03 8:07
EddieRich22-Aug-03 8:07 
GeneralProblem with combobox Pin
Felix_br22-Aug-03 4:21
Felix_br22-Aug-03 4:21 
GeneralRe: Problem with combobox Pin
matlin12322-Aug-03 6:03
matlin12322-Aug-03 6:03 
QuestionWhere to add a dialog in a non-mfc dll? Pin
Tommy Svensson22-Aug-03 3:51
Tommy Svensson22-Aug-03 3:51 
AnswerRe: Where to add a dialog in a non-mfc dll? Pin
User 665822-Aug-03 4:08
User 665822-Aug-03 4:08 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Dangleberry22-Aug-03 4:20
sussDangleberry22-Aug-03 4:20 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Dangleberry22-Aug-03 4:23
sussDangleberry22-Aug-03 4:23 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Michael Dunn22-Aug-03 5:40
sitebuilderMichael Dunn22-Aug-03 5:40 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
User 665822-Aug-03 12:04
User 665822-Aug-03 12:04 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Michael Dunn22-Aug-03 16:35
sitebuilderMichael Dunn22-Aug-03 16:35 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Tommy Svensson29-Aug-03 1:23
Tommy Svensson29-Aug-03 1:23 
GeneralRe: Where to add a dialog in a non-mfc dll? Pin
Tommy Svensson12-Sep-03 0:00
Tommy Svensson12-Sep-03 0:00 
GeneralListBox derived class Problem again :( Pin
matrix66622-Aug-03 3:49
matrix66622-Aug-03 3:49 
GeneralRe: ListBox derived class Problem again :( Pin
Joey Bloggs22-Aug-03 17:05
Joey Bloggs22-Aug-03 17:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.