Re: creating an alarm clock in mfc

  • From: "inthaneelf" <inthaneelf@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 26 Oct 2007 13:28:26 -0700

MessageI don't understand the use of the timer? I did an alarm clock quite a 
while back and used a do loop to have the application check for the current 
system time, if it matched the time set for the alarm it triggered a message 
box, set a variable to 1, which told the loop to quit and went on about 
its business.  

when you changed the time for the alarm, that reset the variable to 0 which 
started the loop again, 

so I don't understand this timer thing? 

regards, 
inthane

. For Blind Programming assistance, Information, Useful Programs, and Links to 
Jamal Mazrui's Text tutorial packages and Applications, visit me at:
http://grabbag.alacorncomputer.com
. to be able to view a simple programming project in several programming 
languages, visit the Fruit basket demo site at:
http://fruitbasketdemo.alacorncomputer.com

  ----- Original Message ----- 
  From: Ken Perry 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Friday, October 26, 2007 11:40 AM
  Subject: RE: creating an alarm clock in mfc




  I suggest you test with the jaws 9 beta and if you find the problem their 
here is what Sina and I do and we get pretty good results.  We write the very 
simplest C# or VB code to demonstrate the problem in this case write a simple 
dialog based app to show the one control and the problem you are having.  From 
there you send it to the Jaws beta team.  Now I will point out though that if 
you are not setting the accessible name and description and roll and its not 
correct then Jaws might not be seeing it correct.  So I would check the control 
with the home row and then maybe even try using it with MSAA turned on for the 
control if it works that way great.  If not Make the simple program to send to 
the team.  They have actually made changes for us to fix problems and they need 
to be given simple examples so they can get it fixed.

  Ken



------------------------------------------------------------------------------
  From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Andy B
  Sent: Friday, October 26, 2007 11:06 AM
  To: programmingblind@xxxxxxxxxxxxx
  Subject: RE: creating an alarm clock in mfc


  Tested with 8.0.2173 and all versions of jaws 9.0 beta... It worked just fine 
with any jaws version before 8.0.1*.


    -----Original Message-----
    From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Ken Perry
    Sent: Friday, October 26, 2007 1:52 PM
    To: programmingblind@xxxxxxxxxxxxx
    Subject: RE: creating an alarm clock in mfc




    Um what version of Jaws do you have?

    Ken



----------------------------------------------------------------------------
    From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Andy B
    Sent: Friday, October 26, 2007 2:46 AM
    To: programmingblind@xxxxxxxxxxxxx
    Subject: RE: creating an alarm clock in mfc


    Ill take a look at the link... If output of .net is fully accessible, is 
there a way to make some of the inaccessible controls better? I know the 
menuStrip and MenuItems need work but what about the DateTimePicker? When I 
arrow up and down in it, jaws wont say anything.


      -----Original Message-----
      From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Ken Perry
      Sent: Friday, October 26, 2007 1:19 AM
      To: programmingblind@xxxxxxxxxxxxx
      Subject: RE: creating an alarm clock in mfc




      As Inthane has already replied the .net languages are all accessible and 
so are their outputs.  I have wrote a lot of GUI code in C# and had no 
problems.  

      You are correct in saying you can use the com stuff no matter what your 
using so if your comfortable with MFC more power to you.  Now as for your 
question what I think your looking for is the Outlook Object model which is 
called the OOM.  Here is a link to it and you can interface with all the 
calendar and tasks and everything with it.  I use the Pocket Outlook Object 
Model to do this on a PDA better known as POOM

      http://msdn2.microsoft.com/en-us/library/aa142559.aspx


      Ken



--------------------------------------------------------------------------
      From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Andy B
      Sent: Thursday, October 25, 2007 4:27 AM
      To: programmingblind@xxxxxxxxxxxxx
      Subject: RE: creating an alarm clock in mfc


       > Well first I would like to ask why are you writing it in MFC if your 
using Visual studio 2005 why not use .net. 
      I am trying to write accessible programs. It appears that .net isn't 
accessible fully and that can be annoying. MFC seems to be the most accessible 
besides win32 and win32s (but thats a pain to use). Either way, I would use c# 
if it was generally accessible. If you have ideas how to make this happen, let 
me know!!
      >Second if you have to do it in MFC you will want to look at the Outlook 
object model so that your calendar alarm clock will be compatible with current 
appointments and meetings  
      > and tasks.  So if you give me a  > bit better description on what your 
up to I might be able to help since I am currently playing with a more 
accessible Pocket Outlook calendar  
      > manager.
      I saw the Microsoft Outlook View and a few other controls in the com list 
of toolbox controls. What ones do I use and how? BTW, you can use those in .net 
*grin*

      I messed with the MediaPlayer control and it's pretty cool...

Other related posts: