.....need to be able to have my program know when the audio in an IM window is enabled.
....If the audio in an IM window is not enabled, then there is no mic button.
If ThereIsNoButton Then
IM_AudioNotEnabled
End If
Rontic wrote:For some reason, my program still sees a button there, even if it's not visible. lol

Rontic wrote:I'm going to see if the GetMenuState command will be of any help.

Rontic wrote:if (itemcount = 15) or (itemcount = 16) then
Rontic wrote:The trouble now is, I have to open up and close the menu in order to refresh the information after the audio is added.
SendMessage(hwnd, WM_INITMENUPOPUP, hmenu, nItem);
SendMessage(hwnd, WM_UNINITMENUPOPUP, hmenu, 0);
Rontic wrote:I hope somebody can give me the code numkber for the menu command.


Users browsing this forum: No registered users and 0 guests