Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

helsten2

@helsten2
About
Posts
10
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Networking API
    H helsten2

    Thanks! I hoped there was a way to avoid this polling thing, but it looks like there is no way around it. Makes my real-time requirement a little bit difficult, though ....

    C / C++ / MFC sysadmin json tutorial question

  • Networking API
    H helsten2

    I don't know. I just searched through my MSDN Library and could not find any documentation. Where did you find it? I assume this call is supposed to handle a machine being shut down (leaving the network). What about a new machine connecting to the network? Thank U in advance!

    C / C++ / MFC sysadmin json tutorial question

  • Networking API
    H helsten2

    By "detect these events" I mean detect when a machine enters/leaves the network. If a machine is equiped with a network adapter, a startup of the meachine will normally mean that the machine tries to connect. I want to capture this. If a mahine is shut down or powered off it will leave the network. I want to capture that. I hope this clarifies my question. So, to repeat, what API should I use to capture these events (real-time)? Thank U in advance!

    C / C++ / MFC sysadmin json tutorial question

  • Networking API
    H helsten2

    Is there an API which will tell me when a machine enters/leaves the network (at startup/shutdown)? If not, can anybody point me in the right direction on how to detect these events? :confused:

    C / C++ / MFC sysadmin json tutorial question

  • Network monitoring - an easy way?
    H helsten2

    I am writing an app where I need to monitor each machine on the network (realtime). I need MAC address, IP address, Machine name and description. And instant information when a machine enters/leaves the network (including wireless connectivity attempts). I have found some samples on the net which gives me an idea on how to approach the problem, but they are incomplete and look quite complex X| . And there seem to be no realtime monitoring. Note that I do NOT have the possibility to install any software on any of the machines being monitored. One machine will run my app, and that's it. Can anybody point me in the right direction? Is there an easy way? Thank you in advance.:) HS

    C / C++ / MFC sysadmin help tutorial question

  • Kristen Nygaard dies, 75
    H helsten2

    As I said, the article in The Age is NOT accurate. He is famous for his contribution to object-oriented programming. This was also internationally recognized: :rose: 2001 A.M. Turing Award Citation: "For ideas fundamental to the emergence of object oriented programming, through the design of the programming languages Simula I and Simula 67" :rose: 2002 John von Neumann Medal Citation: "For the introduction of the concepts underlying object-oriented programming through the design and implementation of SIMULA 67" :omg:Note that he had it all figured out by 1964 (SIMULA I). :(Takes a long time to get good ideas generally accepted, heh? HS

    The Lounge html com

  • Kristen Nygaard dies, 75
    H helsten2

    FYI, the article in The Age was not very accurate. Kristen Nygaard and his colleague Ole-Johan Dahl actually invented OBJECT ORIENTED programming in the early 60's! They created the programming language SIMULA which is fully object oriented already in 1964. It has taken the world almost 40 years to catch up .....!! :rose: HS

    The Lounge html com

  • CHtmlView - how to hide the scrollbar(s)?
    H helsten2

    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; }

    C / C++ / MFC question tutorial

  • CHtmlView - how to hide the scrollbar(s)?
    H helsten2

    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?:|

    C / C++ / MFC question tutorial

  • CHtmlView - how to hide the scrollbar(s)?
    H helsten2

    :confused: 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!

    C / C++ / MFC question tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups